carousel

package
v0.0.0-...-7f44f1c Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 9, 2018 License: BSD-3-Clause Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	PLAYTEXT = "►"
	STOPTEXT = "◼"
)

Variables

View Source
var JS = js.Global

Functions

This section is empty.

Types

type Carousel struct {
	cog.UXCog
	// contains filtered or unexported fields
}

func NewCarousel

func NewCarousel() *Carousel

func (*Carousel) Start

func (c *Carousel) Start() error

type CarouselParams

type CarouselParams struct {
	*js.Object
	Container    string   `js:"container"`
	Items        int      `js:"items"`
	SlideBy      string   `js:"slideBy"`
	Autoplay     bool     `js:"autoplay"`
	AutoplayText []string `js:"autoplayText"`
	Controls     bool     `js:"controls"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL