2.1.3 • Published 2 years ago

@kushii/dom v2.1.3

Weekly downloads
-
License
ISC
Repository
github
Last release
2 years ago

DOM - JqueryClone

A simple dom manipulation similar to jquery ( DOM NPMJS )

Installation

 npm i @kushii/dom
 

Getting Started

1) Start by importing/requiring @kushii/dom as dom

2) Call dom( Selector / Element ) similar to a query selector

Added/Simplified Functions

1) x( cpbm, tblr ) and y( cpbm, tblr )

> As axis with string parameters and returns a number

Parameters    
 1) cbpm ( Size )
 
     > Includes Sizes | Content | Padding | Border | Margin | 
     
 2) tblr ( Position ) 
 
     > Starting at middle of the element ( 0, 0 ) calculates | Top | Bottom | Left | Right | 
     

2) css( ) and animate( )

> Works similar to jquery, but added transform functions such as translateX, 

  scale, etc. that accepts a string unit, number, and array of string or number
  
  
> Returns a string of style property  

Example Project

TodoList (GoForIt) - Repo

2.1.3

2 years ago

2.1.2

2 years ago

2.1.1

2 years ago

2.1.0

2 years ago

2.0.2

2 years ago

2.0.1

2 years ago

2.0.0

2 years ago

1.3.0

2 years ago

1.2.0

2 years ago

1.1.2

2 years ago

1.1.1

2 years ago

1.1.0

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago