- From: will via GitHub <sysbot+gh@w3.org>
- Date: Fri, 19 Mar 2021 01:06:55 +0000
- To: public-css-archive@w3.org
Is there a reason why using the JavaScript Events system isn't a viable solution? ```js myStickyElement.addEventListener('stuck', function () { this.classList.add('is-stuck'); }); myStickyElement.addEventListener('unstuck', function () { this.classList.remove('is-stuck'); }); ``` This was discussed in https://github.com/w3c/csswg-drafts/issues/1660#issue-246491472 back in 2017, and it's still open -- GitHub Notification of comment by wle8300 Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/5979#issuecomment-802432165 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Friday, 19 March 2021 01:06:57 UTC