mirror of
https://github.com/SuiteCRM/SuiteCRM-Core.git
synced 2025-08-29 11:00:40 +08:00
Component is meant to by used by the modals that have buttons Allows to implement a dynamic way to declare modal buttons. Each button onClick call back receives the activeModal. Allowing to close or dismiss the modal on the onClick callback - Re-use scrm-button-group - Extend button group and button interfaces -- Override the onClick handler to receiving the active modal -- Inject the active modal to the button callbacks - Allow for a configurable breakpoint using the config: -- ui.modal_buttons_collapse_breakpoint - Add karma/jasmine tests
4 lines
80 B
YAML
4 lines
80 B
YAML
parameters:
|
|
ui:
|
|
alert_timeout: 3
|
|
modal_buttons_collapse_breakpoint: 4
|