Skip to main content

DomGlobal

Trait DomGlobal 

Source
pub(crate) trait DomGlobal {
    // Required method
    fn global(&self) -> DomRoot<GlobalScope>;
}

Required Methods§

Source

fn global(&self) -> DomRoot<GlobalScope>

Returns the relevant global in the same realm as the callee object. Will enter the realm of the global to ensure the global is only accessed from the correct realm.

Implementors§