Optional
actionOptional action name. This name is used when coordinating header control clicks and App V2 action handlers. If no name is provided, a name will be generated.
A fontawesome icon class, e.g., "fas fa-broom"
The header control text to show.
Optional
onA handler for when this header control is clicked. this
is the application instance.
the pointer event that triggered the handler
the header control that was clicked
Optional
ownershipA key or value in CONST.DOCUMENT_OWNERSHIP_LEVELS that restricts visibility of this option for the current user.
Optional
visibleA boolean or function signifying whether the menu option should be shown.
Use the function to conditionally show/hide the menu option on each render.
this
is the application v2 instance.
A custom header control to be placed in the controls menu of an Application V2 window.
Example: Making a debug button