Skip to main content

node_computed_style

Function node_computed_style 

Source
pub fn node_computed_style(handle: u64, property: &str) -> Option<String>
Expand description

node.computed_style(prop): the value of prop after the full cascade (stylesheet + inherited + inline). Reflects the last committed tick; an inline write issued this tick is visible next tick (commands apply at drain). Returns None for an unmodeled property or an unknown node.