Options
All
  • Public
  • Public/Protected
  • All
Menu

Class CarouselConfig

Hierarchy

Implements

Index

Properties

Optional activeIndex

activeIndex: number = 0

Actived item index

Optional appendTo

appendTo: string | Element | JQuery = "body"

Optional cls

cls: string = ""

The CSS class to add to this widget's element

Optional colorMode

colorMode: ColorMode

Optional faceMode

faceMode: string | Array<string> = null

Optional height

height: string | number

Optional hidden

hidden: boolean = false

Optional i18n

i18n: I18NResource | URLString = null

I18N resource.

Optional Readonly id

id: string

Optional interval

interval: number | false = 5000

The amount of time to delay between automatically cycling an item. If false, carousel will not automatically cycle.

default

5000

Optional items

Optional listeners

Optional locale

locale: Locale = "en"

A locale string, like 'en', 'en-us', 'zh'.

Optional name

name: string = ""

Optional renderTo

renderTo: string | Element | JQuery = null

Render to DOM element.

Optional sizeMode

sizeMode: SizeMode = SizeMode.md

Optional style

style: string = ""

Additional CSS styles that will be rendered into an inline style attribute when the widget is rendered.

Optional tip

tip: string = ""

Optional width

width: string | number