Trilium Frontend API
    Preparing search index...

    Interface VNode<P>

    interface VNode<P = {}> {
        endTime?: number;
        key: any;
        props: P & { children: ComponentChildren };
        ref?: Ref<any>;
        startTime?: number;
        type: string | ComponentType<P>;
    }

    Type Parameters

    • P = {}
    Index

    Properties

    endTime?: number

    The time that the rendering of this vnode was completed. Will only be set when the devtools are attached. Default value: -1

    key: any
    props: P & { children: ComponentChildren }
    ref?: Ref<any>

    ref is not guaranteed by React.ReactElement, for compatibility reasons with popular react libs we define it as optional too

    startTime?: number

    The time this vnode started rendering. Will only be set when the devtools are attached. Default value: 0

    type: string | ComponentType<P>