Skip to main content

node_address

Function node_address 

Source
pub fn node_address(node: i64) -> String
Expand description

A selector naming node by the identity a browser’s reconciler keeps it by through a repaint: #id when the element carries an id that names it, body for the page’s body, else its PLACE — its child index under each ancestor from body down, and its tag — which query_selector resolves to whatever element of that tag stands there now. The place form is not one any page can spell: it begins with a character no selector contains, and is resolved before the selector grammar is consulted. Empty for a node that is not an attached element.