0.0.2 • Published 2 years ago

html-viewport v0.0.2

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

Dynamically creating or changing the content DOM viewport

install

npm i html-viewport

Examples

const viewport = new HTMLViewport;

//Add a new property
viewport.add('width', 'device-width');

//Check if the property exists
viewport.has('width');

//Delete an existing property
viewport.remove('width');
0.0.2

2 years ago

0.0.1

2 years ago