Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface IButton

Interface for declaring a button in HoverManager#launchDialog.

Hierarchy

  • IButton

Index

Properties

Properties

Optional accept

accept: undefined | false | true

Whether this button should 'accept' the results of a dialog. If false, this will dismiss the dialog without returning the value.

default

false

text

text: string

The text label to display for this button

Optional warn

warn: undefined | false | true

Whether this button should be displayed in red.

Use this for destructive actions that can't be undone, such as reverting unsaved changes.

default

false

Generated using TypeDoc