pamoja for TypeScript - v0.2.0
    Preparing search index...

    Class Debounce

    Stops a flickering input from acting until it has settled.

    Index
    • Creates a debouncer needing samples agreeing readings to change state.

      samples is a whole number from 0 to 65535.

      Parameters

      • samples: number
      • initial: boolean

      Returns kit.Debounce

    • Feeds a raw reading in and returns the settled state.

      Parameters

      • raw: boolean

      Returns boolean