weasel API - v0.8.0
    Preparing search index...

    Interface UsePointerStylusOptions

    interface UsePointerStylusOptions {
        maxFps?: number;
        stylusOnly?: boolean;
    }
    Index

    Properties

    Properties

    maxFps?: number

    Throttle re-renders to ≈this many state updates per second. The latest sample is always kept; intermediates are dropped. Default 60. Set to Infinity (or 0) to emit every move.

    stylusOnly?: boolean

    When true, only emit updates while pointerType === 'pen'. Useful for stylus-only UI that should freeze when the user reaches for a mouse. Default false.