Active-CSS / active-css

The epic event-driven browser language for UI with functionality in one-liner CSS. Over 100 incredible CSS commands for DOM manipulation, ajax, reactive variables, single-page application routing, and lots more. Could CSS be the JavaScript framework of the future?
https://activecss.org
Other
42 stars 7 forks source link

Allow attribute referencing in delay labels #248

Closed bob2517 closed 2 years ago

bob2517 commented 2 years ago

I found a need for this last week:

remove-class: .visible after 250ms label hideMenu{@data-ref};

An attribute reference was needed in a label to tie a specific delay timer to an HTML block. It was an intuitive move by me to use attribute referencing in that way.

The core didn't support this though, unfortunately.

But it looks like it should be there, so I've put the enhancement in the core and it will go live with 2.10.0. I'll commit it to the branch shortly.

bob2517 commented 2 years ago

Now on the latest 2.10.0 branch.