Primitives / foldkit-primitives/dom

PointerPressed

const · packages/primitives/src/dom/pointer-position.ts:20

const PointerPressed: Schema.TaggedStruct<
  'PointerPressed',
  {
    readonly point: Schema.Struct<{
      readonly x: Schema.Number
      readonly y: Schema.Number
      readonly pressure: Schema.Number
    }>
    readonly pointerType: Schema.String
    readonly width: Schema.Number
    readonly height: Schema.Number
  }
>

Its type

type PointerPressed = typeof PointerPressed.Type

In the guides