Use event.target and event.relatedTarget to target the active tab and the previous active tab (if available) respectively. This event fires on tab show after a tab has been shown. This event fires on tab show, but before the new tab has been shown. If no tab was already active, then the and events will not be fired. (on the newly-active just-shown tab, the same one as for the event) (on the previous active tab, the same one as for the event) ![]() When showing a new tab, the events fire in the following order: getInstance ( triggerEl ) // Returns a Bootstrap tab instance ![]() querySelector ( '#trigger' ) var tab = coreui.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |