Constructors
Methods
animateNode
- animateNode(div, props, settings): void
Returns void
createDiv
- createDiv(id, properties): HTMLElement
Parameters
- id: number
- properties: CoreNodeProps | CoreTextNodeProps
Returns HTMLElement
createNode
- createNode(node): CoreNode
Returns CoreNode
createProxy
- createProxy(node, div): CoreNode | CoreTextNode
Parameters
- node: CoreNode | CoreTextNode
- div: HTMLElement
Returns CoreNode | CoreTextNode
createTextNode
- createTextNode(node): CoreTextNode
Returns CoreTextNode
destroyNode
- destroyNode(id): void
Returns void
setRootPosition
- setRootPosition(): void
Returns void
updateNodeProperty
- updateNodeProperty(div, property, value, props): void
Parameters
- div: HTMLElement
- property:
| "data"
| "alpha"
| "height"
| "width"
| "color"
| "contain"
| "fontFamily"
| "fontSize"
| "fontStretch"
| "fontStyle"
| "fontWeight"
| "letterSpacing"
| "lineHeight"
| "scale"
| "textAlign"
| "verticalAlign"
| "x"
| "y"
| "zIndex"
| "text"
| "parent"
| "scrollY"
| "texture"
| "autosize"
| "clipping"
| "colorTop"
| "colorBottom"
| "colorLeft"
| "colorRight"
| "colorTl"
| "colorTr"
| "colorBr"
| "colorBl"
| "preventCleanup"
| "textureOptions"
| "shader"
| "src"
| "zIndexLocked"
| "scaleX"
| "scaleY"
| "mount"
| "mountX"
| "mountY"
| "pivot"
| "pivotX"
| "pivotY"
| "rotation"
| "rtt"
| "imageType"
| "srcWidth"
| "srcHeight"
| "srcX"
| "srcY"
| "strictBounds"
| "debug"
| "textRendererOverride"
| "scrollable"
| "offsetY"
| "maxLines"
| "textBaseline"
| "overflowSuffix" - value: any
- props: CoreNodeProps | CoreTextNodeProps
Returns void