struct Protocol::DOM::GetContainerForNode

Overview

Returns the container of the given node based on container query conditions. If containerName is given, it will find the nearest container with a matching name; otherwise it will find the nearest container regardless of its container name.

Included Modules

Defined in:

protocol/dom.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(pull : JSON::PullParser) #

[View source]

Instance Method Detail

def node_id : NodeId | Nil #

The container node for the given node, or null if not found.


[View source]