@lightningjs/renderer
    Preparing search index...

    Interface Inspector

    interface Inspector {
        animateNode(
            div: HTMLElement,
            props: CoreNodeAnimateProps,
            settings: AnimationSettings,
        ): void;
        createDiv(
            id: number,
            properties: CoreNodeProps | CoreTextNodeProps,
        ): HTMLElement;
        createNode(node: CoreNode): CoreNode;
        createNodes(node: CoreNode): boolean;
        createProxy(
            node: CoreNode | CoreTextNode,
            div: HTMLElement,
        ): CoreNode | CoreTextNode;
        createTextNode(node: CoreTextNode): CoreTextNode;
        destroy(): void;
        destroyNode(id: number): void;
        setRootPosition(): void;
        updateNodeProperty(
            div: HTMLElement,
            property:
                | "interactive"
                | "data"
                | "alpha"
                | "color"
                | "contain"
                | "fontFamily"
                | "fontSize"
                | "fontStyle"
                | "letterSpacing"
                | "lineHeight"
                | "maxHeight"
                | "maxWidth"
                | "scale"
                | "textAlign"
                | "verticalAlign"
                | "wordBreak"
                | "x"
                | "y"
                | "zIndex"
                | "text"
                | "parent"
                | "w"
                | "h"
                | "autosize"
                | "boundsMargin"
                | "clipping"
                | "colorTop"
                | "colorBottom"
                | "colorLeft"
                | "colorRight"
                | "colorTl"
                | "colorTr"
                | "colorBr"
                | "colorBl"
                | "texture"
                | "textureOptions"
                | "shader"
                | "src"
                | "scaleX"
                | "scaleY"
                | "mount"
                | "mountX"
                | "mountY"
                | "pivot"
                | "pivotX"
                | "pivotY"
                | "rotation"
                | "rtt"
                | "imageType"
                | "srcWidth"
                | "srcHeight"
                | "srcX"
                | "srcY"
                | "maxLines"
                | "overflowSuffix"
                | "offsetY"
                | "forceLoad"
                | "textRendererOverride",
            value: any,
            props: CoreNodeProps | CoreTextNodeProps,
        ): void;
        updateTextNodeDimensions(div: HTMLElement, node: CoreTextNode): void;
        updateTextureAttributes(div: HTMLElement, texture: Texture): void;
        updateViewport(
            width: number,
            height: number,
            deviceLogicalPixelRatio: number,
        ): void;
    }
    Index

    Methods

    • Parameters

      • div: HTMLElement
      • property:
            | "interactive"
            | "data"
            | "alpha"
            | "color"
            | "contain"
            | "fontFamily"
            | "fontSize"
            | "fontStyle"
            | "letterSpacing"
            | "lineHeight"
            | "maxHeight"
            | "maxWidth"
            | "scale"
            | "textAlign"
            | "verticalAlign"
            | "wordBreak"
            | "x"
            | "y"
            | "zIndex"
            | "text"
            | "parent"
            | "w"
            | "h"
            | "autosize"
            | "boundsMargin"
            | "clipping"
            | "colorTop"
            | "colorBottom"
            | "colorLeft"
            | "colorRight"
            | "colorTl"
            | "colorTr"
            | "colorBr"
            | "colorBl"
            | "texture"
            | "textureOptions"
            | "shader"
            | "src"
            | "scaleX"
            | "scaleY"
            | "mount"
            | "mountX"
            | "mountY"
            | "pivot"
            | "pivotX"
            | "pivotY"
            | "rotation"
            | "rtt"
            | "imageType"
            | "srcWidth"
            | "srcHeight"
            | "srcX"
            | "srcY"
            | "maxLines"
            | "overflowSuffix"
            | "offsetY"
            | "forceLoad"
            | "textRendererOverride"
      • value: any
      • props: CoreNodeProps | CoreTextNodeProps

      Returns void

    • Parameters

      • width: number
      • height: number
      • deviceLogicalPixelRatio: number

      Returns void