Vanilla JS Vous êtes français ? Le README derrière ce lien vous sera peut-être plus agréable. Overview Vanilla JS is a fast, lightweight, cross-platform tool for building incredible, powerful JavaScript applications. Use in Development Just put the following code: <!-- <script src="path/to/vanilla.js"></script> --> Use in Production The much faster method: Summary Overview Use in Development Use in Production Summary Speed Comparison Retrieve DOM element by ID Retrieve 10 DOM elements by tag name Vanilla JS vs jQuery Retrieve 10 DOM elements by class name Retrieve DOM element with <#id> .inner span selector Retrieve 10 DOM elements with <.className> .inner span selector Vanilla JS Selector Performances From jQuery to Vanilla JS .Selector #Dom #id .classname #id tagname [.classname #id tagname] [.classname] [name] [tagname] Inverted Loop AJAX GET JSON POST Request / Response ATTRIBUTS Add Class Get Attribute Get Data Get Value Has Class Remove Attribute Remove Class Remove Data Set Attribute …
Haeresis / vanilla-js-dom
Vanilla JS is a fast, lightweight, cross-platform framework for building incredible, powerful JavaScript applications.
Vanilla JS
Vous êtes français ? Le README derrière ce lien vous sera peut-être plus agréable.
Overview
Vanilla JS is a fast, lightweight, cross-platform tool for building incredible, powerful JavaScript applications.
Use in Development
Just put the following code:
<!-- <script src="path/to/vanilla.js"></script> -->
Use in Production
The much faster method:
Summary
Came here specifically to look for this. Well played.