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

Dependencies (0)

    Dev Dependencies (0)

      Package Sidebar

      Install

      npm i part-element-name

      Weekly Downloads

      0

      Version

      0.0.1

      License

      none

      Last publish

      Collaborators

      • viatropos