Drupal 11: Making Interactive Elements With HTMX. #HTMX #drupal
Posted into THE FULCRUM: CODING FOR DEMOCRACY AND THE OMN @the-fulcrum-coding-for-democracy-and-the-omn-mobileatom

Drupal 11: Making Interactive Elements With HTMX
HTMX is a JavaScript library that allows you to make ajax calls and create CSS transitions without writing any JavaScript code. It works by adding attributes to HTML elements, which it then uses to set up and perform ajax requests, swap elements, and a few other things.It was added to Drupal in version 11.3.0* and gives developers the ability to create interactive elements using render arrays and HTML attributes. The intent is to replace the entire ajax sub-system with one built around HTMX, and there is quite a lot of work ahead to accomplish this task.





