Colibrio Reader Framework API - Cloud license
    Preparing search index...

    Interface IReaderPublicationClipboardOptions

    Options controlling how Clipboard actions behave in ReaderPublications

    interface IReaderPublicationClipboardOptions {
        allowCopy?: boolean;
        textToAppendOnCopy?: string;
        textToPrependOnCopy?: string;
    }

    Properties

    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.

    true
    
    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.

    null
    
    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.

    null