Les deux révisions précédentesRévision précédenteProchaine révision | Révision précédente |
informatique:javascript [24/06/2023 11:09] – [Alpine.js] alpinetoolbox cyrille | informatique:javascript [26/04/2024 09:22] (Version actuelle) – [Alpine.js] cyrille |
---|
* [[https://developers.google.com/web/fundamentals/primers/promises/?hl=en#promise-terminology|About Promise]] et sur la page [[https://cyrille.giquello.fr/informatique/javascript/jquery|jquery]] (promise, deferred) | * [[https://developers.google.com/web/fundamentals/primers/promises/?hl=en#promise-terminology|About Promise]] et sur la page [[https://cyrille.giquello.fr/informatique/javascript/jquery|jquery]] (promise, deferred) |
| |
Liste d'outils et librairies : | News, listes d'outils et librairies : |
| |
| * [[https://codewithhugo.com/|Code with Hugo]], Node.js and JavaScript Guides |
* [[http://www.hlrnet.com/frinprog.htm|http://www.hlrnet.com/frinprog.htm]] | * [[http://www.hlrnet.com/frinprog.htm|http://www.hlrnet.com/frinprog.htm]] |
| |
==== Alpine.js ==== | ==== Alpine.js ==== |
| |
https://github.com/alpinejs/alpine/ | AlpineJs permet de créer/gérer des composants falicement avec Javascript sans se lancer dans une SPA, très léger (<10ko gzippé et minifié) et n'utilise pas de DOM virtuel. Sa syntaxe est similaire à VueJS. C'est un bon outil pour remplacer jQuery et moins complexe que VueJs / React / Angular. |
| |
AlpineJs permet de manipuler le DOM sans se lancer dans une SPA, très léger (<10ko gzippé et minifié) et n'utilise pas de DOM virtuel. Sa syntaxe est similaire à VueJS. C'est un bon outil entre jQuery et VueJs. | [[/informatique/javascript/alpinejs|AlpineJS]] |
| |
* [[https://www.weblogin.fr/blog/119-alpinejs-le-framework-js-entre-jquery-et-vuejs|AlpineJS le framework JS entre JQuery et VueJS]] | |
* [[https://laravel-news.com/alpine-js-intersect-persist-trap|New Alpine.js Plugins: Intersect, Persist, and Trap]] | |
* [[https://alpinejs.dev/plugins/intersect|Intersect plugin]] attribute to an element with a callback that should be ran whenever that element "intersects" with the user's viewport. | |
* [[https://alpinejs.dev/plugins/persist|Persist plugin]] provides a new magic method for integrating your Alpine dataset with localStorage. | |
* The [[https://alpinejs.dev/plugins/trap|Trap plugin]] provides a simple way to "trap" focus inside elements like modals and and other dialogue elements. Trapping focus is very beneficial for users using screen readers or navigating via keyboard in general. | |
* [[https://www.alpinetoolbox.com/examples/|alpinetoolbox]] examples are all open source and built using Alpine.js and mostly Tailwind CSS. | |
==== Vue.js ==== | ==== Vue.js ==== |
| |