Used when a custom indicator needs to be passed to the carousel component.
- Slots
-
default— Renders the inactive state of the indicator. -
active— Renders the active state of the indicator.
- CSS Parts
-
indicator— The wrapping container of the carousel dot indicator. -
inactive— The wrapping container of the inactive dot indicator. -
active— The wrapping container of the active dot indicator.
Properties
Section titled "Properties"active
Section titled "active"Whether the indicator is in its active state. The carousel sets this value.
active: boolean index
Section titled "index"The zero-based position of the indicator in the set. The carousel sets this value.
index: number