[]previous and next page

NumberField

A numeric variable.

A numeric variable.

Import#

ts
import type { NumberField } from "@shadow-js/dusk/server";

Signature#

ts
interface NumberField extends FieldBase {
  readonly type: "number";
  readonly default?: number;
  readonly integer?: boolean;
  readonly min?: number;
  readonly max?: number;
}

Members#

Name Type Description
type readonly type: "number"
default? readonly default?: number
integer? readonly integer?: boolean
min? readonly min?: number
max? readonly max?: number