@twip/web
    Preparing search index...

    Type Alias Popover

    Popover:
        | {
            anchor: ClientRect;
            choices: TabTypeChoice[];
            current: TabSelector;
            kind: "tabType";
        }
        | {
            alignment: TabAlignment;
            anchor: ClientRect;
            kind: "tabStop";
            leader: TabLeader;
            position: Points;
        }
        | { anchor: ClientRect; from: string; kind: "autoCorrect"; to: string }

    The popoverRequested event: a popover to show by anchor (client px), and what answers it. One is open at a time; popoverClosed says the engine dismissed it, and closePopover dismisses it from the application. The application draws it: the editor draws none.

    Type Declaration

    • {
          anchor: ClientRect;
          choices: TabTypeChoice[];
          current: TabSelector;
          kind: "tabType";
      }
      • anchor: ClientRect

        The tab type box.

      • choices: TabTypeChoice[]

        Every type, in order.

      • current: TabSelector

        The type a click on the ruler adds now.

      • kind: "tabType"

        The tab type picker: answered with setRulerTabType.

    • {
          alignment: TabAlignment;
          anchor: ClientRect;
          kind: "tabStop";
          leader: TabLeader;
          position: Points;
      }
      • alignment: TabAlignment

        Its alignment.

      • anchor: ClientRect

        The stop's mark on the ruler.

      • kind: "tabStop"

        One tab stop's options: addTabStop at its position changes the alignment or leader, deleteTabStop clears it.

      • leader: TabLeader

        Its leader.

      • position: Points

        Its position, from the paragraph's left text edge.

    • { anchor: ClientRect; from: string; kind: "autoCorrect"; to: string }
      • anchor: ClientRect

        The corrected text.

      • from: string

        What was typed.

      • kind: "autoCorrect"

        The options of the correction just made.

      • to: string

        What it became.