perspective_viewer::utils

Trait DocumentExt

Source
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§

Implementations on Foreign Types§

Source§

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.

Implementors§