i have property in model:
this.setdata({myprop: "hello world!"})
what want display in template , refresh when changes.
the solution have use section, bind refresh property , display property in macro. issue feel there should another, simpler way it. it's imho heavy (15ish lines), compared angular's {{myprop}}
does have simple , elegant implementation?
ok, had use text widget.
{@aria:text { bind: { text : { to: "myprop", inside: data } } }/}
it gives wierd results when inserted in middle of text, bit of css solve it.
Comments
Post a Comment