Skip to main content

focus_by

Function focus_by 

Source
pub fn focus_by(verb: Verb, selector: &str) -> Vec<(i64, &'static str)>
Expand description

The default focus action of verb on the element selector names, carried out, as the events it raises in the order a browser raises them: blur on the element that lost focus, then focus on the one that gained it — each (element, event), before the verb’s own events. Nothing when the selector names no element (the verb reports that itself) or focus stays put.