Composant Twitter Bootstrap Modal.
More...
Composant Twitter Bootstrap Modal.
- Author
- jc
- Version
- 1.001
Definition at line 14 of file Modal.php.
◆ __construct()
◆ attach()
◆ onHidden()
This event is fired when the modal has finished being hidden from the user (will wait for CSS transitions to complete).
- Parameters
-
- Returns
- $this
Definition at line 101 of file Modal.php.
◆ onHide()
This event is fired immediately when the hide instance method has been called.
- Parameters
-
- Returns
- $this
Definition at line 92 of file Modal.php.
◆ onLoaded()
This event is fired when the modal has loaded content using the remote option.
- Parameters
-
- Returns
- $this
Definition at line 110 of file Modal.php.
◆ onShow()
This event fires immediately when the show instance method is called.
If caused by a click, the clicked element is available as the relatedTarget property of the event.
- Parameters
-
- Returns
- $this
Definition at line 73 of file Modal.php.
◆ onShown()
This event is fired when the modal has been made visible to the user (will wait for CSS transitions to complete).
If caused by a click, the clicked element is available as the relatedTarget property of the event.
- Parameters
-
- Returns
- $this
Definition at line 83 of file Modal.php.
◆ setBackdrop()
Includes a modal-backdrop element.
Alternatively, specify static for a backdrop which doesn't close the modal on click.
- Parameters
-
Boolean | $value | default : true |
- Returns
- $this
Definition at line 44 of file Modal.php.
◆ setDraggable()
◆ setKeyboard()
Closes the modal when escape key is pressed.
- Parameters
-
Boolean | $value | default : false |
- Returns
- $this
Definition at line 53 of file Modal.php.
◆ setShow()
Shows the modal when initialized.
- Parameters
-
Boolean | $value | default : true |
- Returns
- $this
Definition at line 34 of file Modal.php.
The documentation for this class was generated from the following file: