BlockSuite API Documentation / @blocksuite/block-std / PointerEventState
Class: PointerEventState
Extends
Constructors
new PointerEventState(__namedParameters)
new PointerEventState(
__namedParameters
):PointerEventState
Parameters
• __namedParameters: PointerEventStateOptions
Returns
Overrides
@blocksuite/block-std.UIEventState.constructor
Source
block-std/src/event/state/pointer.ts:39
Properties
button
button:
number
Source
block-std/src/event/state/pointer.ts:27
containerOffset
containerOffset:
Point
Source
block-std/src/event/state/pointer.ts:19
cumulativeParentScale
cumulativeParentScale:
number
Source
block-std/src/event/state/pointer.ts:29
delta
delta:
Point
Source
block-std/src/event/state/pointer.ts:21
dragging
dragging:
boolean
Source
block-std/src/event/state/pointer.ts:28
event
event:
Event
Inherited from
@blocksuite/block-std.UIEventState.event
Source
block-std/src/event/base.ts:11
keys
keys:
Object
Type declaration
alt
alt:
boolean
cmd
cmd:
boolean
shift
shift:
boolean
Source
block-std/src/event/state/pointer.ts:22
point
point:
Point
Source
block-std/src/event/state/pointer.ts:18
raw
raw:
PointerEvent
Source
block-std/src/event/state/pointer.ts:17
start
start:
Point
Source
block-std/src/event/state/pointer.ts:20
type
type:
string
='pointerState'
when extends, override it with pattern xxxState
Overrides
@blocksuite/block-std.UIEventState.type
Source
block-std/src/event/state/pointer.ts:15
Accessors
x
get
x():number
Returns
number
Source
block-std/src/event/state/pointer.ts:31
y
get
y():number
Returns
number
Source
block-std/src/event/state/pointer.ts:35
Generated using TypeDoc and typedoc-plugin-markdown.