2020-09-25 12:44:04 +02:00
|
|
|
import ValidatedTextField from "./UI/Input/ValidatedTextField";
|
|
|
|
import {VariableUiElement} from "./UI/Base/VariableUIElement";
|
2020-08-31 02:59:47 +02:00
|
|
|
|
2020-09-25 12:44:04 +02:00
|
|
|
|
|
|
|
const vtf= ValidatedTextField.KeyInput(true);
|
|
|
|
vtf.AttachTo('maindiv')
|
|
|
|
vtf.GetValue().addCallback(console.log)
|
|
|
|
new VariableUiElement(vtf.GetValue().map(n => ""+n)).AttachTo("extradiv")
|