About Pi Downloads Documentation Plugins Developer Forum Issues

pi.element.environment.getType

Summary

Returns node type of the element.

Syntax

element.environment.getType();

Example

>>> new pi.element("textarea").environment.getType();
1

See Also