Enode — API Reference
    Preparing search index...

    Function liftLoadDraft

    • A lift load (already in the DISPLAY unit) as a keyboard draft: rounded to liftLoadIncrement, never below 0, and always with the increment's decimals — "82.0" and "82.5" for 0.5 kg, "182" for 1 lb. The fixed width keeps a value that a slider drag changes every pixel from jumping between "82" and "82.5" (and its unit from shifting beside it).

      Parameters

      • displayLoad: number
      • options: { system?: UnitSystem } = {}

        system overrides the active unit system.

      Returns string