interface / @typed/ui

SpinButton.SpinButtonOptions

Native maximum value.

Learn this UI primitive →

Package version
1.0.0-beta.7
Category
Numeric bounds
Since
1.0.0
Member of
SpinButton

Import

import { SpinButton } from "@typed/ui";

Access SpinButton.SpinButtonOptions through the imported SpinButton export. Its declaration below describes the member.

This public exposure is a re-export. Its import path is supported; declaration documentation is shared with the other public exposures below.

Signatures

export interface SpinButtonOptions extends Dom.HostOptions<HTMLInputElement> {
    readonly state: RefSubject.HydratedRefSubject<State, Schema.SchemaError>;
    readonly min?: Renderable.Any<number | null | undefined>;
    readonly max?: Renderable.Any<number | null | undefined>;
    readonly step?: Renderable.Any<number | "any" | null | undefined>;
}

Property: max

Native maximum value.

Property: min

Native minimum value.

Property: state

Hydrated value state.

Property: step

Native step value or "any".

Other public imports

These import paths expose the same declaration. Each page retains its own public name and signature.

Source