1.1.1 • Published 4 years ago
domang v1.1.1
DOMang
Domang is a library based in jQuery, which intend to simplify the process of selecting and manipulating HTML documents.
About
Using the familiar jQuery dollar sign ($), easily manipulate, create and animate elements using DOMang, a lightweight, easy and fast javascript library.
Functions
Usage
You can use DOMang by the CDN link:
CDN link
<script src="https://rawcdn.githack.com/KauanRakoski/DOMang/5842d8107474c0ca24c20da3a378832f8aa876f8/script.js"></script>
NPM installation
Or you can install it running the command - we are working on this. Use the CDN link instead.-:
npm install domang
And then import it:
import $ from 'domang';
Getting started
After that, you are able to start coding. Code example:
$('document').ready(function(){
$('.someItem').resize(3, 1);
$('.someItem').on('mouseover', function(){
console.log('mouseover');
});
$('.someItem').on('click', function(){
$('.someItem').css('background-color', 'white');
})
$('.someOtherItem').rawReveal() <-- creates a simple intersection observer
})
Version
V - 1.1.2 Last updates Minor changes and improvements. Bug correction.