2.0.4 • Published 2 years ago

cgil-html-utils v2.0.4

Weekly downloads
3
License
MIT
Repository
github
Last release
2 years ago

cgil-html-utils

Goeland client side html utility functions

Getting Started

Install cgil-html-utils in the shell

npm i -P cgil-html-utils

Then to import all functions from the library just use this line in your code

import * as cgHtmlUtils from 'cgil-html-utils'

and use any function as usual.

cgHtmlUtils.getEl('mySpanid').innerHTML = "It work's ! "

If you work with a bundler like webpack, you can also import only what you neeed.

import { isNullOrUndefined, debounce} from 'cgil-html-utils/src/cgHtmlUtils'

this way webpack or parcel will be able to do tree-shaking getting only the functions you are using, and your final bundle will be much smaller !

https://webpack.js.org/guides/tree-shaking/

Documentation

documentation is available in docs subdirectory generated from jsdoc source code with the excellent TypeDoc !

2.0.4

2 years ago

2.0.3

2 years ago

2.0.2

2 years ago

2.0.1

2 years ago

1.0.9

4 years ago

1.0.8

4 years ago

1.0.7

5 years ago

1.0.6

5 years ago

1.0.4

6 years ago

1.0.3

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago