Interface ComponentFastenerInit<S, U>
Properties
Optional child
child: boolean
Optional extends
Optional key
key: string | boolean
Optional observe
observe: boolean
Optional parentComponent
Optional type
type: unknown
Methods
Optional createComponent
- createComponent(): null | S | U
-
Returns null | S | U
Optional didSetComponent
- didSetComponent(newComponent: null | S, oldComponent: null | S, targetComponent: null | Component): void
-
Parameters
-
newComponent: null | S
-
oldComponent: null | S
-
targetComponent: null | Component
Returns void
Optional fromAny
- fromAny(value: S | U): null | S
-
Parameters
Returns null | S
Optional insertComponent
- insertComponent(parentComponent: Component, childComponent: S, targetComponent: null | Component, key: undefined | string): void
-
Parameters
-
-
childComponent: S
-
targetComponent: null | Component
-
key: undefined | string
Returns void
Optional onSetComponent
- onSetComponent(newComponent: null | S, oldComponent: null | S, targetComponent: null | Component): void
-
Parameters
-
newComponent: null | S
-
oldComponent: null | S
-
targetComponent: null | Component
Returns void
Optional willSetComponent
- willSetComponent(newComponent: null | S, oldComponent: null | S, targetComponent: null | Component): void
-
Parameters
-
newComponent: null | S
-
oldComponent: null | S
-
targetComponent: null | Component
Returns void