phoenix_live_view
    Preparing search index...

    Interface BufferFrame

    What a buffer is told about one dynamic of the rendered tree.

    Subclasses may hang their own state on a frame in onEnter and read it back in onExit, which is why it carries an index signature.

    interface BufferFrame {
        changed: boolean;
        index: number;
        node: any;
        statics: string[];
        [key: string]: any;
    }

    Indexable

    • [key: string]: any
    Index
    changed: boolean

    Whether this patch touched anything at or below this dynamic.

    index: number

    Which dynamic of that node, i.e. the gap after statics[index].

    node: any

    The rendered node holding the dynamic.

    statics: string[]

    The node's static segments, already resolved from any template.