Documentation ¶
Rendered for js/wasm
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Options ¶
type Options struct { // The width of the carousel. Width string // The height of the carousel. Height string // The background color of the carousel. Background string // Border of the carousel. Border string // Show the carousel controls. Controls bool ControlsColor string ControlsSize string // Show the carousel indicators. Indicators bool // Items Items []*elements.Element // Class prefix Prefix string // Active item ActiveItem int }
func (*Options) SetDefaults ¶
func (c *Options) SetDefaults()
Click to show internal directories.
Click to hide internal directories.