foo-webview-sdk
    Preparing search index...

    Interface DiscoveryContextMenuTreeNode

    One node of the context-menu tree. State fields are absent on a separator, which has neither state nor identity.

    interface DiscoveryContextMenuTreeNode {
        checked?: boolean;
        childCount?: number;
        children?: DiscoveryContextMenuTreeNode[];
        childrenExceeded: boolean;
        childrenReturned?: number;
        depth: number;
        depthExceeded: boolean;
        enabled?: boolean;
        flags?: number;
        fullName?: string;
        hidden?: boolean;
        name: string;
        radioChecked?: boolean;
        stateKnown?: boolean;
        truncated: boolean;
        type: "command" | "unknown" | "separator" | "popup";
    }
    Index
    checked?: boolean

    Whether the entry shows a check mark. Absent on a separator.

    childCount?: number

    The host's real number of children; only on a popup node.

    The children, in menu order; only on a popup node.

    childrenExceeded: boolean

    Whether the per-node children limit clipped something below this node.

    childrenReturned?: number

    How many children this response holds; only on a popup node.

    depth: number

    Depth below the root, which is 0.

    depthExceeded: boolean

    Whether the depth limit clipped something below this node.

    enabled?: boolean

    Whether the entry can be clicked. Absent on a separator.

    flags?: number

    The raw display flags. Absent on a separator.

    fullName?: string

    Full slash-separated name; only on a command node.

    hidden?: boolean

    Whether the host would not draw the entry; always false here, because the tree is built from what the host shows. Absent on a separator.

    name: string

    Label as the host reports it.

    radioChecked?: boolean

    Whether the check mark is a radio mark. Absent on a separator.

    stateKnown?: boolean

    Whether the state was observed; always true here. Absent on a separator.

    truncated: boolean

    Whether anything below this node was clipped.

    type: "command" | "unknown" | "separator" | "popup"

    Node kind.