rough-name
DESCRIPTION
An utility to get a rough name of html element.
The name is configured by its tagName, id and className as possible. This is available for logging or debugging, but not for identify the element in a document.
PREPARATION
If the require
is available,
var RoughName = ; console
APIs
RoughName.get(element)
SYNTAX
roughName
PARAMETER
- element - HTML element.
RETURNS
The rough name of the element.
LICENSE
This software is released under the MIT License, see LICENSE