MapComplete/UI/Input/InputElement.ts
2021-06-10 01:36:20 +02:00

11 lines
309 B
TypeScript

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