Constructor
new AppSettingModalController()
Members
frameElement
Get the frame element by ID Uses direct DOM query since frame is outside controller scope
modalElement
Get the modal element by ID Uses direct DOM query since modal is outside controller scope
Methods
connect()
Connect - set up event listeners
disconnect()
Disconnect - clean up event listeners
handleOutletClick(event)
Handle outlet button click event Loads the edit form for the clicked setting
| Name | Type | Description |
|---|---|---|
event | CustomEvent | The outlet-button-clicked event |
initialize()
Initialize controller
loadEditForm(id)
Load the edit form into the turbo-frame
| Name | Type | Description |
|---|---|---|
id | string | | The app setting ID to edit |