Repository with sources and generator of https://larlet.fr/david/ https://larlet.fr/david/
Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.

index.md 804B

1234567
  1. title: JavaScript déclaratif
  2. > When JavaScript is used to handle user interactions like clicks, or enhance the page by manipulating the DOM, traditionally you’d have JavaScript find that HTML element in your page, and hook some code into it. But what if you’d switch that around, and have the HTML element “tell” JavaScript what function to execute?
  3. >
  4. > <cite>*[Progressive enhancement with handlers and enhancers](https://hiddedevries.nl/en/blog/2015-04-03-progressive-enhancement-with-handlers-and-enhancers)* ([cache](/david/cache/ba6ef65c13ffa3b92e95fb486cfc6fe0/))</cite>
  5. Je trouve cette approche intéressante, au moins conceptuellement. Il faudrait que je l’essaye ici pour mettre en place [Layzr.js](http://callmecavs.github.io/layzr.js/) et voir quels effets de bord cela produit.