Query the path information from the node to the root node of the page.
A callback function, the query result will be returned as the parameter of the callback function. The callback function has two parameters:
The first parameter returns the query result.
NodesRef
represents one single node, it returns a Record<string, any>
object containing the query result. If the node is not found, it returns null
.NodesRef
represents multiple nodes, it returns an array of Record<string, any>
objects, each element in the array corresponds to the query result of a node. If no nodes are found, it returns an empty array.The second parameter returns the status of the query (error message).
Contains the SelectorQuery
object for this task. Call exec()
to execute the task.
Possible output:
LCD tables only load in the browser