OnClick Event
The OnClick event is exclusively supported on the Button control. This event is triggered whenever the button is clicked, allowing you to execute custom logic in response to the user interaction.
// on button click opening custom flyout
appStudioWizard.showDialogFlyout(pageDialogName);