part-element-name

0.0.1 • Public • Published

Part Element Name

Get element name, node.js and browser.

Installation

node.js:

$ npm install part-element-name

browser:

$ component install part/element-name

Example

var name = require('part-element-name');
name(document.querySelector('h1')); // "h1"

Licence

MIT

/part-element-name/

    Package Sidebar

    Install

    npm i part-element-name

    Weekly Downloads

    0

    Version

    0.0.1

    License

    none

    Last publish

    Collaborators

    • viatropos