pub trait DocumentExt {
// Required method
fn blur_active_element(&self);
}Expand description
Blur the current active elemnt, triggering any blur handlers in the
application (e.g. modals). This is often necessary when a DOM update will
invalidate something that has a "blur" event handler.
Required Methods§
fn blur_active_element(&self)
Implementations on Foreign Types§
Source§impl DocumentExt for Document
impl DocumentExt for Document
Blur the current active elemnt, triggering any blur handlers in the
application (e.g. modals). This is often necessary when a DOM update will
invalidate something that has a "blur" event handler.