Skip to main content

take_raised_events

Function take_raised_events 

Source
pub fn take_raised_events() -> Vec<(i64, &'static str)>
Expand description

The events the page’s own element commands raised (element_focus, element_blur) that the host has not delivered yet, (element, event) in the order they were raised — taken, so each is delivered once. Each element is found as the page stands NOW (it was recorded by its node_address, which survives the turn’s repaint), and an event whose element has left the page is dropped: nothing is listening there any more.