Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface ButtonItem

A button item in the settings.

Hierarchy

Index

Properties

action

action: string | ButtonAction

The action to invoke, when clicked.

Optional color

color: string

The color.

Optional if

if: string

The JavaScript code that checks the avaibility.

Optional ifFile

ifFile: string

The regular expression, that checks if an object should be visible for an active editor or not.

Optional importValues

importValues: {}

Defines a list of properties, which uses (external) values for itself.

Type declaration

Optional isRight

isRight: boolean

Display button on the right side or not.

Optional onCreated

onCreated: string

The (JavaScript) code to executed after object has been created.

Optional onDestroyed

onDestroyed: string

The (JavaScript) code to executed after object has been destroyed.

Optional onEditorChanged

onEditorChanged: string

The (JavaScript) code to executed after active editor has changed.

Optional platforms

platforms: string[]

One or more platform names, the object is for.

Optional priority

priority: number

The priority.

Optional text

text: string

The label / text.

Optional tooltip

tooltip: string

The tooltip.

Generated using TypeDoc