Skip to main content

ProjectButtonParameters

interface ProjectButtonParameters{
label: TranslationText;
tooltip: TranslationText;
icon: IconResourceId;
onclick: (n: number) => void;
shortcut: ButtonShortcut;
}

Properties​

NameTypeDescription
labelTranslationTextButton label in multiple languages
tooltipTranslationTextButton tooltip in multiple languages
iconIconResourceIdButton icon (one of builtin resources)
onclickfunction()Event executed when user clicks the button
shortcutButtonShortcutKeyboard shortcut

Description​

Properties used to describe a newly created button.