Trevixal API
    Preparing search index...

    Interface Toolbar

    interface Toolbar {
        element: HTMLElement;
        destroy(): void;
        getGroupOrder(): readonly string[];
        refresh(): void;
        setGroupOrder(order: readonly string[]): void;
    }
    Index
    element: HTMLElement
    • Returns void

    • The groups' current order, by name.

      Returns readonly string[]

    • Repaint every control. The toolbar already refreshes on each transaction; call this when state the document does not hold changes, a format painter arming, for instance.

      Returns void

    • Rearrange the groups; names are matched as for ToolbarOptions.groupOrder.

      Parameters

      • order: readonly string[]

      Returns void