Added cyclofix capacity cargo; covered; non-bike shop; pump dyn title

This commit is contained in:
Pieter Fiers 2020-07-29 13:16:21 +02:00
parent a7bb4a1fcc
commit 948ff74a8b
23 changed files with 624 additions and 91 deletions

View file

@ -2,6 +2,7 @@ import {InputElement} from "./InputElement";
import {UIEventSource} from "../UIEventSource";
import {UIElement} from "../UIElement";
import {FixedUiElement} from "../Base/FixedUiElement";
import Translations from "../i18n/Translations";
export class InputElementWrapper<T> extends InputElement<T>{
@ -16,9 +17,11 @@ export class InputElementWrapper<T> extends InputElement<T>{
) {
super(undefined);
this.pre = typeof(pre) === 'string' ? new FixedUiElement(pre) : pre
// this.pre = typeof(pre) === 'string' ? new FixedUiElement(pre) : pre
this.pre = Translations.W(pre)
this.input = input;
this.post =typeof(post) === 'string' ? new FixedUiElement(post) : post
// this.post =typeof(post) === 'string' ? new FixedUiElement(post) : post
this.post = Translations.W(post)
}