VladimirKheifets
/
Java-Script-library-CompactDOM
The library helps to access the DOM elements,provides the ability to access the attributes and content of elements and manipulate elements.
Java Script library CompactDOM
Version: 1.2.2, 2021-04-08
Author: Vladimir Kheifets (kheifets.vladimir@online.de)
Copyright (c) 2021 Vladimir Kheifets All Rights Reserved
The library helps to access the DOM elements,provides the ability
to access the attributes and content of elements and manipulate elements.
Browser support:
Chrome 4.0, Internet Explorer 9.0, Edge,Firefox 3.5, Safari 3.2, Opera 10.0
Size of the current version (file CompactDOM.min.js) 7.5Kb
Demo:
https://www.alto-booking.com/demo/github/CompactDOM/
https://www.alto-booking.com/demo/github/CaesarCipher/
After loading the library, the following syntax construction (Backus-Naur-Form) becomes available:
_(<selector>).<method>([<parameter>[, <parameter>[, ... <parameter>]]])[.<property>];
<selector> :: = <null> | <object element DOM> | <string CSS Selector>
Attention!
In some cases, when calling a method, it is allowed not to specify a selector (null) and instead
of opening and closing parentheses, you can write one underscore character.
_().<metod>(...) equivalent to: __.<metod>(...)
If <selector> defines an HTMLCollection object, then all methods marked with (*)
are applied for array-like list (collection) of HTML elements.
<method> :: = "attribute"|"change"|"checked"|"class"|"click"|"content"|"create"|display"|…
Top comments (0)