lustre/carousel

Types

A singleton holding all your carousels

pub opaque type Carousels

Functions

pub fn add(
  carousels: Carousels,
  id: String,
  slides: List(Slide),
  show_progress: Bool,
  show_nav: Bool,
) -> Carousels
pub fn count(carousels c: Carousels) -> Int
pub fn new() -> Carousels

Create an empty list of carousels

pub fn remove(carousels: Carousels, id: String) -> Carousels
Search Document