2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-06-14 18:42:30 +03:00

Add dispose methods in our documentation (#24396)

* Add dispose methods in our documentation

* Update buttons.md
This commit is contained in:
Johann-S
2017-10-16 16:51:42 +02:00
committed by GitHub
parent 658e81a084
commit 99eece1392
8 changed files with 23 additions and 1 deletions
+4
View File
@@ -263,6 +263,10 @@ Cycles to the previous item. **Returns to the caller before the previous item ha
Cycles to the next item. **Returns to the caller before the next item has been shown** (i.e. before the `slid.bs.carousel` event occurs).
### `.carousel('dispose')`
Destroys an element's carousel.
### Events
Bootstrap's carousel class exposes two events for hooking into carousel functionality. Both events have the following additional properties: