Standard
Carousel
A standard carousel
Usage
Initializing
Initializing a carousel
$('.ui.carousel')
.carousel()
;
Settings
| Carousel Settings | ||
|---|---|---|
| required | auto | Setting to true/false will determine whether an input will allow no selection. Auto will set disallow this behavior only for radio boxes |
| context | false | A selector or jQuery object to use as a delegated event context |
| Callbacks | ||
|---|---|---|
| onChange | None | Callback after a carousel is either disabled or enabled. |
| onEnable | None | Callback after a carousel is enabled. |
| onDisable | None | Callback after a carousel is disabled. |
| UI Module Settings | ||
|---|---|---|
| Name | Carousel | Name used in debug logs |
| debug | True | Provides standard debug output to console |
| performance | False | Provides standard debug output to console |
| verbose | False | Provides ancillary debug output to console |
| namespace | carousel | Event namespace. Makes sure module teardown does not effect other events attached to an element. |
| errors |
errors : {
method : 'The method you called is not defined.'
}
|
|