3 karma · joined Dec 19, 2016 (9y ago) · 2 submissions
comment 4y ago · link · parent
comment 9y ago · link · parent
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.