mapcomplete/UI/Input/InputElement.ts

13 lines
301 B
TypeScript
Raw Normal View History

import {UIEventSource} from "../../Logic/UIEventSource";
2021-06-10 01:36:20 +02:00
import BaseUIElement from "../BaseUIElement";
export abstract class InputElement<T> extends BaseUIElement {
abstract IsSelected: UIEventSource<boolean>;
abstract GetValue(): UIEventSource<T>;
abstract IsValid(t: T): boolean;
2020-07-23 17:32:18 +02:00
}