Skip to main content

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#

Properties#

events#

• Optional events: object

Inherited from#

Component.events

Defined in#

freerunner.ts:104


name#

• name: string

Defined in#

freerunner.ts:128


properties#

• Optional properties: any

Inherited from#

Component.properties

Defined in#

freerunner.ts:103


required#

• Optional required: string

Inherited from#

Component.required

Defined in#

freerunner.ts:102

Methods#

init#

â–¸ Optional init(): void

Returns#

void

Inherited from#

Component.init

Defined in#

freerunner.ts:101