VerticalSlidesContext

Receiver type for verticalSlides{} blocks. Exposes per-stack id/classes/style attributes plus a slideConfig that applies to every child slide in the stack.

Intentionally not annotated with KSlidesDslMarker so that slide-defining calls (markdownSlide, htmlSlide, dslSlide, slideDefinition) resolve without needing a this@Presentation qualifier.

The slideConfig declared here is not merged with the global/presentation slideConfig{}, so it takes effect as a stack-local override.

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard

CSS class list applied to the outer <section> wrapping the vertical stack.

Link copied to clipboard

Placeholder that intentionally throws when written to — CSS must be declared at the kslides{} or presentation{} level, not inside a verticalSlides{} block.

Link copied to clipboard
var id: String

HTML id applied to the outer <section>; blank omits the attribute.

Link copied to clipboard

Inline CSS applied to the outer <section>; blank omits the attribute.

Functions

Link copied to clipboard
fun css(block: CssBuilder.() -> Unit)

Guard against declaring css {} inside a verticalSlides{} block. Always throws IllegalArgumentException.

Link copied to clipboard
fun slideConfig(block: SlideConfig.() -> Unit)

Configure a SlideConfig that applies to every child slide in this vertical stack. Useful for shared backgrounds, transitions, or Markdown separators across the whole stack.