Better HN
topnewbestaskshowjobs
Log inSign up

afd8856

3 karma · joined Dec 19, 2016 (9y ago) · 2 submissions

Submissions

comment 4y ago · link · parent

Just mentioning SlateJS which has [decorations](https://docs.slatejs.org/concepts/09-rendering#decorations) for this

comment 9y ago · link · parent

Somewhat magical.

All bound expressions in Vue are javascript expressions. Names are typically bound on "this", which is the component instance. So the above expression is equivalent to

    this.toggleVar = !this.toggleVar.