Enode — API Reference
    Preparing search index...
    • The band track of a lift's load field, as a field insight: (draft, setDraft) like MetricKeyboardField.insight, so the in-app keyboard and a desktop's native input (which renders it beside the field) share one strip.

      Parameters

      • lift: LiftBandContext
      • options: {
            fallback: () => number | null;
            toDraft?: (stored: number) => string;
            toStored: (draft: string) => number | null;
        }
        • fallback: () => number | null

          the stored load an empty draft stands for (the field's current value).

        • OptionaltoDraft?: (stored: number) => string

          when set the marker is draggable: a stored load to the draft text written back into the field.

        • toStored: (draft: string) => number | null

          a typed draft (display units) to the stored load.

      Returns (draft: string, setDraft: (next: string) => void) => ReactNode