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
41 stars 7 forks source link

Need if-completely-visible conditional to work horizontally #327

Closed bob2517-whiteline closed 12 months ago

bob2517-whiteline commented 1 year ago

On the docs site it says: "This only works in the vertical plane - it does not take into account left and right edges. If you need a horizonal option, start an issue on GitHub and the feature will get added."

I need it to run a rotated message board horizontally on a chromecasted monitor with partially visible messages getting a special class. It worked when used vertically, but as TVs do not support vertical displays just because they don't, the webpage has had to be transformly rotated, but it's broken the if-completely-visible check. Hence that now needs to support horizontal. I could probably do it programmatically quicker than updating the function in the core, but the current observe events in the message board look so groovy that it would be a shame to get rid of them.

This needs to be done in the next day or so. It's not the end of the world if it isn't, but it would be nice.

Might need if-completely-visible-x and if-completely-visible-y as alternative solutions as it could be a breaking change if anyone is even using this language other than me, lol :)

bob2517 commented 12 months ago

Closing pending release.