ProjectButtonParameters
interface ProjectButtonParameters{
label: TranslationText;
tooltip: TranslationText;
icon: IconResourceId;
onclick: (n: number) => void;
shortcut: ButtonShortcut;
}
Properties
Name | Type | Description |
---|---|---|
label | TranslationText | Button label in multiple languages |
tooltip | TranslationText | Button tooltip in multiple languages |
icon | IconResourceId | Button icon (one of builtin resources) |
onclick | function() | Event executed when user clicks the button |
shortcut | ButtonShortcut | Keyboard shortcut |
Description
Properties used to describe a newly created button.