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

Attribute reference variable not working in custom event with a valid target selector #197

Closed bob2517 closed 2 years ago

bob2517 commented 2 years ago

I reported this to myself twice in the last couple of weeks, so it's obviously needed. When triggering custom events, the prior target selector and event selector must be available as a reference to grab attributes from. Otherwise it makes it more tricky to use custom events as functions. It's an intuitive feature. I'm labelling this as an enhancement, as it's not built-in to the core, as opposed to a breakage of sorts.

bob2517 commented 2 years ago

I'm going to get the docs updated for the release of 2.9.0 before starting this - I need to consolidate what's ready for release for sanity's sake more than any other reason.

bob2517 commented 2 years ago

Code is in place for this. Just need to test it.

bob2517 commented 2 years ago

This is done offline.

That concludes the 2.9.0 fixes and upgrades. I'm knackered now, so I'm going to push it all live tomorrow morning. I'll do a commit shortly though of everything outstanding.

bob2517 commented 2 years ago

Closing in preparation for release.