tuil
ReferencePackages@mwillbanks/tuil-inkAPI

usePointerCapture

function exported by @mwillbanks/tuil-ink.

View rawEdit

function

Public function exported by @mwillbanks/tuil-ink.

export function usePointerCapture(id: string): {
  readonly capture: () => void;
  readonly release: () => void;
};

Members

This declaration has no public members.

Parameters

MemberTypeRequiredDescriptionRelated types
idstringYesSupplies the id value as string.

Returns

{ readonly capture: () => void; readonly release: () => void; } — Returns a value that satisfies { readonly capture: () => void; readonly release: () => void; }.

Related types: —

Throws

No thrown errors are documented for this declaration.

No package-local related types.

Source

View the secondary source reference

Package

@mwillbanks/tuil-ink

On this page