functions

NewSlideshow
Edited: Sunday 25 January 2026

NewSlideshow

Category: Widgets
File: slideshow.go
Package: ui

Signature

1func NewSlideshow(items []W) *Slideshow

Description

NewSlideshow creates a new slideshow with the given items

Examples

NewSlideshow

1{
2	slides := []W{
3		Background(STRAWBERRY_300, Centered(Label("Slide 1"))),
4		Background(BLUEBERRY_300, Centered(Label("Slide 2"))),
5	}
6	ss := NewSlideshow(slides)
7	_ = ss
8}

Example Output


This documentation is auto-generated. To update, run make docs

Backlinks