Consider making text property read and write. Currently read... and would have to remake object with new text.
is there any updates already about labelletters?
This has been updated for ZIM LabelLetters and LabelWords - you can now change the text with the text property.
can you give an example of zapp code for this?
I really would like cool text to better understand
thanks
Not much to it:
const lW = new LabelWords("Hello there world, this is one sentence")
.center()
timeout(2, ()=>{
lW.text = "and now it is shorter";
S.update();
})
and
const ll = new LabelLetters("Hello there world, this is one sentence")
.center()
timeout(2, ()=>{
ll.text = "and now it is shorter";
S.update();
})
1 Like