Fix build

This commit is contained in:
Pieter Vander Vennet 2021-01-18 01:48:08 +01:00
parent 21d2dc52c2
commit 0fee4cae58
6 changed files with 14491 additions and 96 deletions

View file

@ -11,12 +11,14 @@ export class DropDown<T> extends InputElement<T> {
private readonly _value: UIEventSource<T>;
public IsSelected: UIEventSource<boolean> = new UIEventSource<boolean>(false);
private readonly _label_class: string;
private readonly _select_class: string;
constructor(label: string | UIElement,
values: { value: T, shown: string | UIElement }[],
value: UIEventSource<T> = undefined,
label_class: string,
select_class: string) {
label_class: string = "",
select_class: string = "") {
super(undefined);
this._value = value ?? new UIEventSource<T>(undefined);
this._label = Translations.W(label);