Skip to main content

WindowClientMethods

pub trait WindowClientMethods<D: DomTypes> {
    // Required methods
    fn Focus(
        &self,
        cx: &mut JSContext,
    ) -> <D::Promise as PromiseHelpers<D>>::StackRoot;
    fn Navigate(
        &self,
        cx: &mut JSContext,
        url: USVString,
    ) -> <D::Promise as PromiseHelpers<D>>::StackRoot;
}

Required Methods§

Source

fn Focus( &self, cx: &mut JSContext, ) -> <D::Promise as PromiseHelpers<D>>::StackRoot

Source

fn Navigate( &self, cx: &mut JSContext, url: USVString, ) -> <D::Promise as PromiseHelpers<D>>::StackRoot

Implementors§