a modified implementation of the CommandPalette Renderer

Hierarchy

  • Renderer
    • Renderer

Constructors

Methods

  • Create the class name for the command item icon.

    Parameters

    • data: IItemRenderData

      The data to use for the class name.

    Returns string

    The full class name for the item icon.

  • Create the class name for the command palette item.

    Parameters

    • data: IItemRenderData

      The data to use for the class name.

    Returns string

    The full class name for the command palette item.

  • Create the dataset for the command palette item.

    Parameters

    • data: IItemRenderData

      The data to use for creating the dataset.

    Returns ElementDataset

    The dataset for the command palette item.

  • Create the render content for the empty message node.

    Parameters

    • data: IEmptyMessageRenderData

      The data to use for the empty message content.

    Returns Child

    The content to add to the empty message node.

  • Create the render content for the header node.

    Parameters

    • data: IHeaderRenderData

      The data to use for the header content.

    Returns Child

    The content to add to the header node.

  • Create the render content for the item caption node.

    Parameters

    • data: IItemRenderData

      The data to use for the caption content.

    Returns Child

    The content to add to the caption node.

  • Create the render content for the item label node.

    Parameters

    • data: IItemRenderData

      The data to use for the label content.

    Returns Child

    The content to add to the label node.

  • Create the render content for the item shortcut node.

    Parameters

    • data: IItemRenderData

      The data to use for the shortcut content.

    Returns Child

    The content to add to the shortcut node.

  • Render the empty results message for a command palette.

    Parameters

    • data: IEmptyMessageRenderData

      The data to use for rendering the message.

    Returns VirtualElement

    A virtual element representing the message.

  • Render the virtual element for a command palette header.

    Parameters

    • data: IHeaderRenderData

      The data to use for rendering the header.

    Returns VirtualElement

    A virtual element representing the header.

  • Render the virtual element for a command palette item.

    Parameters

    • data: IItemRenderData

      The data to use for rendering the item.

    Returns VirtualElement

    A virtual element representing the item.

  • Render the caption for a command palette item.

    Parameters

    • data: IItemRenderData

      The data to use for rendering the caption.

    Returns VirtualElement

    A virtual element representing the caption.

  • Render the content for a command palette item.

    Parameters

    • data: IItemRenderData

      The data to use for rendering the content.

    Returns VirtualElement

    A virtual element representing the content.

  • Render the icon for a command palette item.

    Parameters

    • data: IItemRenderData

      The data to use for rendering the icon.

    Returns VirtualElement

    A virtual element representing the icon.

  • Render the label for a command palette item.

    Parameters

    • data: IItemRenderData

      The data to use for rendering the label.

    Returns VirtualElement

    A virtual element representing the label.

  • Render the shortcut for a command palette item.

    Parameters

    • data: IItemRenderData

      The data to use for rendering the shortcut.

    Returns VirtualElement

    A virtual element representing the shortcut.

Generated using TypeDoc