0.1.12 • Published 3 years ago
@aurorats/element v0.1.12
Aurora Element
Aurora element, hold info about HTMLElements class, attributes and tag name.
Install
npm i --save @aurorats/element
yarn add @aurorats/element
Exmaple
import { hasNativeAttr } from '@aurorats/element';
let div = document.createElement('div');
console.log(hasNativeAttr(div, 'for'));