Use 'area' to create a new note; open note popup when created

This commit is contained in:
Pieter Vander Vennet 2023-02-09 00:30:21 +01:00
parent 1c1df43bf9
commit b4ecd963fc
4 changed files with 10 additions and 19 deletions

View file

@ -61,17 +61,6 @@ export class TextField extends InputElement<string> {
return this._isValid(t)
}
private static test() {
const placeholder = new UIEventSource<string>("placeholder")
const tf = new TextField({
placeholder,
})
const html = <HTMLInputElement>tf.InnerConstructElement().children[0]
html.placeholder // => 'placeholder'
placeholder.setData("another piece of text")
html.placeholder // => "another piece of text"
}
/**
*
* // should update placeholders dynamically