Options
All
  • Public
  • Public/Protected
  • All
Menu

External module "wed/editor-actions"

Index

Type aliases

ActionCtor

ActionCtor: object

Type declaration

Handler

Handler: function

Type declaration

    • (editor: EditorAPI): void
    • Parameters

      • editor: EditorAPI

      Returns void

Variables

Const DecreaseLabelVisibilityLevel

DecreaseLabelVisibilityLevel: object = makeAction("Decrease label visibility level", "Decrease label visibility",makeHTML("arrow-down"), false,(editor) => {editor.decreaseLabelVisiblityLevel();})

Type declaration

Const IncreaseLabelVisibilityLevel

IncreaseLabelVisibilityLevel: object = makeAction("Increase label visibility level", "Increase label visibility",makeHTML("arrow-up"), false,(editor) => {editor.increaseLabelVisibilityLevel();})

Type declaration

Const Redo

Redo: object = makeAction("Redo", makeHTML("redo"), false,(editor) => {editor.redo();})

Type declaration

Const Save

Save: object = makeAction("Save", makeHTML("upload"), false,(editor) => {// tslint:disable-next-line:no-floating-promiseseditor.save();})

Type declaration

Const Undo

Undo: object = makeAction("Undo", makeHTML("undo"), false,(editor) => {editor.undo();})

Type declaration

Functions

makeAction

  • makeAction(desc: string, icon: string, needsInput: boolean, fn: Handler): ActionCtor
  • makeAction(desc: string, icon: string, abbreviatedDesc: string, needsInput: boolean, fn: Handler): ActionCtor

Generated using TypeDoc