gwendall/way.js

How to bind an element attribute or className ?

Opened this issue · 0 comments

is there any kind of method binding element's attribute or className?

for example :

<div way-attr-data="scope.hidden" way-attr-name="hidden" id="d" ></div>

when i set scope.hidden as true , element d.hidden= true;