Methods
modalBtnValueChanged()
- Description:
Handle modal button value changes Automatically triggers modal opening when value is set
- Source:
ModalOpener Stimulus Controller
Provides programmatic modal triggering through value-driven activation. Automatically opens Bootstrap modals when the modalBtn value is set, enabling remote modal control and confirmation workflows.
Features:
Values:
Usage:
JavaScript usage: controller.modalBtnValue = "confirmModal"; // Triggers modal opening
Handle modal button value changes Automatically triggers modal opening when value is set