BlockSuite API Documentation / @blocksuite/block-std / PointerEventState
Class: PointerEventState
Extends
Constructors
new PointerEventState()
new PointerEventState(
__namedParameters
):PointerEventState
Parameters
__namedParameters
PointerEventStateOptions
Returns
Overrides
Defined in
packages/framework/block-std/src/event/state/pointer.ts:44
Properties
button
button:
number
Defined in
packages/framework/block-std/src/event/state/pointer.ts:14
containerOffset
containerOffset:
Point
Defined in
packages/framework/block-std/src/event/state/pointer.ts:16
delta
delta:
Point
Defined in
packages/framework/block-std/src/event/state/pointer.ts:18
event
event:
Event
Inherited from
Defined in
packages/framework/block-std/src/event/base.ts:11
keys
keys:
object
alt
alt:
boolean
cmd
cmd:
boolean
shift
shift:
boolean
Defined in
packages/framework/block-std/src/event/state/pointer.ts:20
point
point:
Point
Defined in
packages/framework/block-std/src/event/state/pointer.ts:26
pressure
pressure:
number
Defined in
packages/framework/block-std/src/event/state/pointer.ts:28
raw
raw:
PointerEvent
Defined in
packages/framework/block-std/src/event/state/pointer.ts:30
start
start:
Point
Defined in
packages/framework/block-std/src/event/state/pointer.ts:32
type
type:
string
='pointerState'
when extends, override it with pattern xxxState
Overrides
Defined in
packages/framework/block-std/src/event/state/pointer.ts:34
Accessors
x
Get Signature
get x():
number
Returns
number
Defined in
packages/framework/block-std/src/event/state/pointer.ts:36
y
Get Signature
get y():
number
Returns
number
Defined in
packages/framework/block-std/src/event/state/pointer.ts:40