Method: Browser::DOM::Node#namespace

Defined in:
opal/browser/dom/node.rb

#namespaceString (readonly)

Returns the namespace of the node.

Returns:

  • (String)

    the namespace of the node


353
354
355
# File 'opal/browser/dom/node.rb', line 353

def namespace
  `#@native.namespaceURI || nil`
end