1 repositorio
Automated binding of JavaScript controller properties to child DOM elements based on data attributes.
Distinct from HTML Element Bindings: Focuses on the automatic mapping of child elements to class properties, rather than general support for standard web element attributes.
Explore 1 awesome GitHub repository matching user interface & experience · Automatic Element Mapping. Refine with filters or upvote what's useful.
Stimulus is a JavaScript behavior framework and client-side logic layer used to add interactive behavior to server-rendered HTML. It functions as a system of DOM component controllers that organize JavaScript logic into classes, allowing developers to enhance server-delivered markup without replacing the rendering process with a client-side framework. The framework uses data attributes to bind JavaScript classes to HTML elements and map DOM events to specific methods through document-level event delegation. It employs a lifecycle manager based on mutation observers to automatically instantiat
Provides automatic binding of DOM elements to controller properties using data attributes.