Interface: CComponent
Same as Component except name-attribute is required.
This gives the possibility to export component objects and create them without the need of providing name as separate parameter.
import MyComponent from '/components/MyComponent'
const F = Freerunner()F.cc(MyComponent)
#
Hierarchy↳
CComponent
#
Properties#
events• Optional
events: object
#
Inherited from#
Defined in#
name• name: string
#
Defined in#
properties• Optional
properties: any
#
Inherited from#
Defined in#
required• Optional
required: string
#
Inherited from#
Defined in#
Methods#
initâ–¸ Optional
init(): void
#
Returnsvoid