getContainerForNode

Returns the query container of the given node based on container query conditions: containerName, physical and logical axes, and whether it queries scroll-state. If no axes are provided and queriesScrollState is false, the style container is returned, which is the direct parent or the closest element with a matching container-name.


suspend fun getContainerForNode(nodeId: Int, containerName: String? = null, physicalAxes: DOM.PhysicalAxes? = null, logicalAxes: DOM.LogicalAxes? = null, queriesScrollState: Boolean? = null): DOM.GetContainerForNodeReturn

Returns the query container of the given node based on container query conditions: containerName, physical and logical axes, and whether it queries scroll-state. If no axes are provided and queriesScrollState is false, the style container is returned, which is the direct parent or the closest element with a matching container-name.

Parameters

nodeId

No description

containerName

No description

physicalAxes

No description

logicalAxes

No description

queriesScrollState

No description