import {UIElement} from "../UIElement"; import {UIEventSource} from "../UIEventSource"; export class CheckBox extends UIElement{ private data: UIEventSource; constructor(data: UIEventSource) { super(data); this.data = data; } protected InnerRender(): string { return "Current val: "+this.data.data; } }