iink-ts - v5.0.0
    Preparing search index...

    Type Alias TMenuItemFactory

    TMenuItemFactory: (canvas: TInteractiveInkCanvas) => BaseMenuItem | HTMLElement

    Type Declaration

    A raw HTMLElement is for static content: it is removed with the menu, never updated. Anything that must follow the canvas state is a BaseMenuItem.