Unpoly 3.9.0 released

Posted . Visible to the public. Auto-destruct in 13 days

Unpoly Show archive.org snapshot enhances your HTML with new attributes to build dynamic UI on the server. It works with any language and gracefully degrades without JavaScript.

The 3.9.0 release brings many fixes and quality-of-life improvements that were requested by the community Show archive.org snapshot . The vast majority of these changes are backward compatible. One breaking change can be found with making links followable Show archive.org snapshot . Existing usage is polyfilled by unpoly-migrate.js Show archive.org snapshot .

Emitting events on buttons

Improvements to faux-interactive elements

Sometimes you need to add a click listener to non-interactive elements (like <span>). Unpoly helps you prevent accessibility issues Show archive.org snapshot
with such "faux-interactive" elements, by offering the [up-clickable] Show archive.org snapshot attribute and up.link.config.clickableSelectors Show archive.org snapshot configuration.
Unpoly also leverages this for its own faux-interactive elements, such as [up-emit] Show archive.org snapshot or [up-dismiss] Show archive.org snapshot .

This release improves the handling of faux-interactive elements:

Polling

Forms

Smooth scrolling

Various

Henning Koch
Last edit
Tobias Kraze
License
Source code in this card is licensed under the MIT License.
Posted by Henning Koch to makandra dev (2024-08-28 09:50)