CopyCodeConfig

Configuration for the CopyCode reveal.js plugin. Only takes effect when PresentationConfig.enableCodeCopy is true.

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard

Label shown immediately after a successful copy (e.g. "Copied").

Link copied to clipboard

Background color of the button after a successful copy.

Link copied to clipboard

Text color of the button after a successful copy.

Link copied to clipboard

Default button label (e.g. "Copy").

Link copied to clipboard

Background color of the button in its default state.

Link copied to clipboard

Text color of the button in its default state.

Link copied to clipboard

Values consumed by kslides itself (theme, highlight plugin, corner links, iframe sizing, etc.).

Link copied to clipboard

Values that correspond to documented reveal.js config options.

Link copied to clipboard

Milliseconds the "Copied!" label is displayed before reverting to copy. Default 1000.

Functions

Link copied to clipboard
fun merge(other: AbstractConfig)

Copy all entries from other's maps into this config's maps. Later puts overwrite earlier ones.