CIntValidator
Validates integer text within a configurable range.
import { CIntValidator } from "canvas-toolkit-lib";Declared members
constructor(bottom?: number, top?: number);Creates an integer validator.
bottom(): number;Returns the lower bound.
top(): number;Returns the upper bound.
setBottom(bottom: number): void;Sets the lower bound.
setTop(top: number): void;Sets the upper bound.
setRange(bottom: number, top: number): void;Sets the accepted range.
validate(input: string): CValidatorState;Validates integer text.