(
{pointerId, pointerType, isPrimary}: PointerInit,
buttons: Buttons,
)
| 11 | |
| 12 | export class Pointer { |
| 13 | constructor( |
| 14 | {pointerId, pointerType, isPrimary}: PointerInit, |
| 15 | buttons: Buttons, |
| 16 | ) { |
| 17 | this.pointerId = pointerId |
| 18 | this.pointerType = pointerType |
| 19 | this.isPrimary = isPrimary |
| 20 | this.isMultitouch = !isPrimary |
| 21 | this.buttons = buttons |
| 22 | } |
| 23 | readonly pointerId: number |
| 24 | readonly pointerType: string |
| 25 | readonly isPrimary: boolean |
nothing calls this directly
no outgoing calls
no test coverage detected