Script API - v1.21.130.24
    Preparing search index...

    List Pane slot

    interface IListPaneSlot {
        entryCount: number;
        id: string;
        paneId: string;
        selected: boolean;
        tags: readonly string[];
        title: LocalizedString;
        getEntry<K extends ListPaneEntryType = undefined>(
            index: number,
            type?: K,
        ): K extends ListPaneEntryType ? ListPaneEntryMap[K<K>] : IListPaneEntry;
        getUserData(): unknown;
        setSelected(selected: boolean): void;
        setTags(tags: string[]): void;
        setTitle(title: LocalizedString): void;
        setUserData(data: unknown): void;
    }
    Index

    Properties

    entryCount: number

    Count of entries.

    id: string

    Unique identifier of the slot.

    paneId: string

    Unique identifier of the parent pane.

    selected: boolean

    Selected state of the slot.

    tags: readonly string[]

    List of tags associated with the slot.

    Count of entries.

    Methods

    • Returns unknown

      User data associated with the slot.

    • Parameters

      • selected: boolean

        New selected state.

      Returns void

      Updates selected state of the slot.

    • Parameters

      • tags: string[]

        New tag list.

      Returns void

      Updates tags of the slot.

    • Parameters

      • data: unknown

        New user data.

      Returns void

      Updates user data associated with the slot