LetsPlotIframeConfig

iframe sizing and caching settings for letsPlot{} DSL calls. Merged with global + presentation defaults at render time.

The width / height here must stay compatible with the plot size passed to letsPlot() (the Dimensions argument) — mismatched values will cause clipping or whitespace around the plot.

Constructors

Link copied to clipboard
constructor()

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

iframe height attribute. Blank omits the attribute.

Link copied to clipboard

When true, the rendered plot HTML is cached for the lifetime of the com.kslides.KSlides instance so the same figure is not recomputed on every HTTP request. Set to false for plots whose data changes over time.

Link copied to clipboard

Inline CSS applied to the iframe. Useful for borders while tuning size.

Link copied to clipboard

Accessible title text for screen readers.

Link copied to clipboard

iframe width attribute. Defaults to "100%" of the slide area.

Functions

Link copied to clipboard
open fun merge(other: AbstractConfig)

Merge other into this config in place: every entry from other's two maps is copied into this config's maps, with later puts overwriting earlier keys. This is how the global → presentation → slide cascade resolves (parent merged first, then child).

Link copied to clipboard
open fun revealjsOption(key: String, value: Any)

Set a raw reveal.js config option by key for options kslides does not expose as a typed property (e.g. the menu plugin's themes array). The value is emitted verbatim into the Reveal.initialize({...}) call and participates in the config cascade like any other option. Prefer the typed properties where they exist.