Skip to main content

SharedWorkerGlobalScopeMethods

Trait SharedWorkerGlobalScopeMethods 

Source
pub trait SharedWorkerGlobalScopeMethods<D>
where 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§