Skip to main content

SharedWorkerGlobalScopeMethods

pub trait SharedWorkerGlobalScopeMethods<D: DomTypes> {
    // Required methods
    fn Name(&self) -> DOMString;
    fn Close(&self);
    fn GetOnconnect(
        &self,
        cx: &mut JSContext,
    ) -> Option<RootedCallback<EventHandlerNonNull<D>>>;
    fn SetOnconnect(
        &self,
        cx: &mut JSContext,
        value: Option<RootedCallback<EventHandlerNonNull<D>>>,
    );
}

Required Methods§

Implementors§