Skip to content

@vttforge/core / ApplicationHeaderControlsEntry

Interface: ApplicationHeaderControlsEntry ​

One button in a window's header.

Properties ​

action ​

action: string


icon ​

icon: string


label ​

label: string

name was the v13 spelling and warns since v14.


onClick? ​

optional onClick?: (event) => unknown

Parameters ​

event ​

PointerEvent

Returns ​

unknown


visible? ​

optional visible?: boolean | (() => boolean)

A boolean, or a function called with the application as this.

MIT licensed.