The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

Name

SPVM::Eg::Node - Node in JavaScript.

Description

The Eg::Node class in SPVM is an abstract base class upon which many other DOM API objects are based, thus letting those object types to be used similarly and often interchangeably.

This class is a port of Node in JavaScript.

Instance Methods

node_name

method node_name : string ();

Returns the name of the current node as a string.

For details, see Node.nodeName in JavaScript.

Copyright & License

Copyright (c) 2023 Yuki Kimoto

MIT License