ReaderPublicationClipboardOptions

data class ReaderPublicationClipboardOptions(val allowCopy: Boolean = true, val textToPrependOnCopy: String? = null, val textToAppendOnCopy: String? = null)

Options controlling how Clipboard actions behave in ReaderPublications

Constructors

Link copied to clipboard
fun ReaderPublicationClipboardOptions(allowCopy: Boolean = true, textToPrependOnCopy: String? = null, textToAppendOnCopy: String? = null)

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
fun serialize(generator: JsonGenerator)

Properties

Link copied to clipboard
val allowCopy: Boolean = true

If "copy to clipboard" actions should be allowed.

Link copied to clipboard

Text to append when a "copy to clipboard" action is performed. This option only has an effect if allowCopy is set to true.

Link copied to clipboard

Text to prepend when a "copy to clipboard" action is performed. This option only has an effect if allowCopy is set to true.