PointerTypeOptions

data class PointerTypeOptions(val mouse: Boolean = false, val pen: Boolean = false, val touch: Boolean = true)

Option to set which pointer types are allowed for PointerEvents in the ReaderView.

Constructors

Link copied to clipboard
fun PointerTypeOptions(mouse: Boolean = false, pen: Boolean = false, touch: Boolean = true)

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
fun serialize(generator: JsonGenerator)

Properties

Link copied to clipboard
val mouse: Boolean = false

Allow mouse devices to trigger PointerEvents.

Link copied to clipboard
val pen: Boolean = false

Allow pen devices to trigger PointerEvents.

Link copied to clipboard
val touch: Boolean = true

Allow touch devices to trigger PointerEvents.