我是www.w3schools.com镜像网站

W3.JS References


Complete W3.JS API Reference

Function Description Example
w3.hide Hides HTML elements Try it
w3.show Shows HTML elements Try it
w3.toggleShow Toggles between hiding and showing HTML elements Try it
w3.toggleClass Toggles the class of HTML elements Try it
w3.addClass Adds one or multiple classes to HTML elements Try it
w3.addStyle Adds style to HTML elements Try it
w3.removeClass Removes one or multiple classes from HTML elements Try it
w3.filterHTML Filters the display of HTML elements Try it
w3.sortHTML Sorts the display of HTML elements Try it
w3.slideshow Make HTML elements display as a slideshow Try it
w3.displayObject Displays JavaScript objects in HTML Try it
w3.includeHTML Displays HTML in HTML Try it
w3.getHttpObject Reads JSON data from a server Try it
w3.getHttpData Reads data from a server  

Complete W3.JS Attribute Reference

Attribute Description Example
{{ }} Defines where to display data Try it
w3-repeat Defines where to repeat data Try it
w3-include-HTML Defines where to include HTML Try it