Constructor
new ButtonPanelPresenter(root, onBuild)
Creates a new ButtonPanelPresenter instance.
Parameters:
| Name | Type | Description |
|---|---|---|
root |
HTMLElement | The root element containing the button panel. |
onBuild |
function | Callback function triggered when build/run is initiated. |
- Source:
Methods
disable()
Disables the button panel and shows loading state.
- Source:
enable()
Enables the button panel and shows available options.
- Source:
hideScriptButtons()
Hides script-related buttons.
- Source:
showScriptButtons()
Shows script-related buttons.
- Source: