Open eliot-akira opened 7 months ago
A first look at the Interactivity API (April 11, 2024)
It extends standard HTML with directives, which are special data attributes that can listen to and modify the behavior of any DOM element. With directives, you can manipulate the DOM, apply CSS styles, handle user input, and much more.
Consider what's being developed in WP core, very similar and also experimental: