show and hidden events not working
Hey guys i came across the following lines on modal.js :
- $target.one('show.bs.modal', function (showEvent) {
- if (showEvent.isDefaultPrevented()) return // only register focus restorer if modal will actually get shown
- $target.one('hidden.bs.modal', function () {
- $this.is(':visible') && $this.trigger('focus')
- })
- })
These are all event being attached right ? , well i was wondering where can i find the documentation for the show Jquery event ? , because i tried writing my own programme using the show and hidden event and none of the events seems to be working . check here :