html-viewport
v0.0.2
Published
Dynamically creating or changing the content DOM viewport
Downloads
4
Readme
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');