PptxKeyUi
Not exported by name. You get it from the API.
PptxKeyUi properties
| Name | Type | Description |
|---|---|---|
activeComment | string | null | The thread the comments pane shows as picked. |
comment | (() => void) | undefined | |
drawTool | DrawTool | null | Insert > Shapes > Curve, Freeform or Scribble: the stage draws until the shape ends. |
find | (() => void) | undefined | Set by the mounted editor, which owns the Find pane and the comment box. |
formatShape | ((section: string) => void) | undefined | Opens Format Shape at one section (FORMAT_SECTIONS) and moves focus into it. |
keybindingsOpen | boolean | |
link | (() => void) | undefined | Set by whatever shows the Link dialog: the toolbar’s popover, or a host’s own. |
notesPage | boolean | View > Notes Page: the slide’s notes page in place of the stage. |
outline | boolean | View > Outline View: the slides’ titles and body text in place of the thumbnails. |
palette | PaletteStore<string> | read-only The built-in command palette; a host that has its own rebinds palette.open. |
panes | Record<PaneName, boolean> | The panes the mounted editor shows; a host with its own chrome reads them and calls togglePane. |
railFocused | boolean | A slide thumbnail has focus, so arrows and Delete act on slides. |
sampling | ((hex: string | null) => void) | null | The Eyedropper: set while the stage waits for the click that samples a colour. |
sorter | boolean | View > Slide Sorter: every slide in a grid in place of the rail and the stage. |
stepComment | ((by: -1 | 1) => void) | undefined | Review > Previous and Next: goes to the thread before or after the active one, across slides. |
togglePane | ((pane: PaneName) => void) | undefined |
PptxKeyUi.openKeybindings()
openKeybindings(): void
PptxKeyUi.pickColor()
pickColor(): Promise<string | null>
RRGGBB, Escape gives null.