mapcomplete/UI/Input/InputElement.ts
Pieter Vander Vennet 1488caf362 Add input validation
2020-07-23 17:32:18 +02:00

12 lines
301 B
TypeScript

import {UIElement} from "../UIElement";
import {UIEventSource} from "../UIEventSource";
import {FixedUiElement} from "../Base/FixedUiElement";
export abstract class InputElement<T> extends UIElement{
abstract GetValue() : UIEventSource<T>;
abstract IsValid(t: T) : boolean;
}