Options
All
  • Public
  • Public/Protected
  • All
Menu

External module "wed/gui/icon"

Index

Variables

Functions

Variables

Const ICON_NAMES

ICON_NAMES: Record<string, string> = Object.create(null)

The icons used by the user interface.

author

Louis-Dominique Dubeau

license

MPL 2.0

copyright

Mangalam Research Center for Buddhist Languages

Functions

makeHTML

  • makeHTML(name: string): string
  • Generates the HTML for an icon. The icon name can be any of:

    • "add" for actions that add content.

    • "delete" for actions that delete content.

    • "wrap" for actions that wrap content.

    • "unwrap" for actions that unwrap content.

    • "documentation" for actions that present documentation.

    • "any" for any action.

    Parameters

    • name: string

      The name of the icon to create.

    Returns string

    The HTML for the icon.

Generated using TypeDoc