Options
All
  • Public
  • Public/Protected
  • All
Menu

Options controlling how Clipboard actions behave in ReaderPublications

Hierarchy

  • IReaderPublicationClipboardOptions

Index

Properties

Optional allowCopy

allowCopy?: boolean

If "copy to clipboard" actions should be allowed.

Note that most browsers will still show and allow "copy" when right-clicking/long-pressing images. Use IEpubReaderPublicationOptions.preventDefaultContextMenuOnMediaElements to disable that behaviour.

default

true

Optional textToAppendOnCopy

textToAppendOnCopy?: string

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

default

null

Optional textToPrependOnCopy

textToPrependOnCopy?: string

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

default

null

Generated using TypeDoc