HorizontalDslSlide
A top-level DSL slide. Add via com.kslides.Presentation.dslSlide; populate the slide body inside content.
Properties
When true, reveal.js auto-animates between this slide and the previous one.
When true, forces auto-animate to restart from this slide even if the previous used it.
Global default com.kslides.config.DiagramConfig for com.kslides.diagram calls.
Global default com.kslides.config.LetsPlotIframeConfig for letsPlot{} calls.
Global default com.kslides.config.PlaygroundConfig for com.kslides.playground calls.
Version of the Lets-Plot JS runtime loaded by generated Lets-Plot iframes.
Filesystem directory where Lets-Plot iframe HTML files are written.
Filesystem directory where Playground iframe HTML files are written.
The Presentation that owns this slide.
Per-presentation com.kslides.config.DiagramConfig overrides.
Per-presentation com.kslides.config.LetsPlotIframeConfig overrides.
Per-presentation com.kslides.config.PlaygroundConfig overrides.
Implementation detail — do not use.
Implementation detail — do not use.
Implementation detail — counter for per-slide iframe filenames.
Implementation detail — do not use.
Implementation detail — unique slide id used to generate iframe filenames.
Implementation detail — do not use.
Functions
Supply the slide body using the kotlinx.html DSL. Required — blank throws at render time. Inside the block you can call extension DSLs such as com.kslides.playground, com.kslides.diagram, com.kslides.codeSnippet, and letsPlot{} (from kslides-letsplot).
Guard against declaring css {} inside a slide — CSS belongs on the kslides{} or presentation{} scope. Always throws IllegalArgumentException.
include variant for use inside a com.kslides.slide.DslSlide content{} block. Same semantics as CODE.include — HTML escaping and the indent token are turned off.
Resolve filename relative to the configured Kroki output directory.
Resolve filename relative to the configured Lets-Plot output directory.
Generate a unique per-slide filename for iframe or image content. Each call increments the internal counter so multiple playgrounds / diagrams / plots on the same slide get distinct filenames.
Embed an interactive Kotlin Playground iframe inside a DslSlide content{} block. The source file referenced by srcName is inlined into the Playground editor; any otherSrcs are attached as hidden <textarea class="hidden-dependency"> elements that Playground loads alongside the main file.
Resolve filename relative to the configured Playground output directory.
Apply this slide's id/style/visibility/auto-animate attributes plus the merged SlideConfig to the given <section> element. Called by the slide renderer and not typically invoked by user code.
Configure per-slide reveal.js attributes (transitions, backgrounds, Markdown separators, etc.). Overrides values inherited from the global and presentation slideConfig{} blocks.