Componentparam

ComponentParam interface

Component Params need to be initialized using the $Param.Component

Signature:

export interface ComponentParam extends AbstractParam 

Extends: AbstractParam

Example 1

@Param() myAudio = $Param.Component("audio")

Example 2

@Param() myComponent = $Param.Component(MyCustomComponent)

Example 3

@Param() myComponent = $Param.Component("any")

Properties

Property

Modifiers

Type

Description

required?

boolean

(Optional)

type?

"component"

(Optional)

typeof?

string | any

(Optional)