Skip to main content

HTMLIFrameElementMethods

pub trait HTMLIFrameElementMethods<D: DomTypes> {
Show 23 methods // Required methods fn Src(&self) -> USVString; fn SetSrc(&self, cx: &mut JSContext, value: USVString); fn Srcdoc(&self) -> TrustedHTMLOrString<D>; fn SetSrcdoc( &self, cx: &mut JSContext, value: TrustedHTMLOrString<D>, ) -> ErrorResult; fn Name(&self) -> DOMString; fn SetName(&self, cx: &mut JSContext, value: DOMString); fn Sandbox(&self, cx: &mut JSContext) -> DomRoot<D::DOMTokenList>; fn AllowFullscreen(&self) -> bool; fn SetAllowFullscreen(&self, cx: &mut JSContext, value: bool); fn Width(&self) -> DOMString; fn SetWidth(&self, cx: &mut JSContext, value: DOMString); fn Height(&self) -> DOMString; fn SetHeight(&self, cx: &mut JSContext, value: DOMString); fn ReferrerPolicy(&self) -> DOMString; fn SetReferrerPolicy(&self, cx: &mut JSContext, value: DOMString); fn Loading(&self) -> DOMString; fn SetLoading(&self, cx: &mut JSContext, value: DOMString); fn GetContentDocument(&self) -> Option<DomRoot<D::Document>>; fn GetContentWindow(&self) -> Option<DomRoot<D::WindowProxy>>; fn FrameBorder(&self) -> DOMString; fn SetFrameBorder(&self, cx: &mut JSContext, value: DOMString); fn LongDesc(&self) -> USVString; fn SetLongDesc(&self, cx: &mut JSContext, value: USVString);
}

Required Methods§

Source

fn Src(&self) -> USVString

Source

fn SetSrc(&self, cx: &mut JSContext, value: USVString)

Source

fn Srcdoc(&self) -> TrustedHTMLOrString<D>

Source

fn SetSrcdoc( &self, cx: &mut JSContext, value: TrustedHTMLOrString<D>, ) -> ErrorResult

Source

fn Name(&self) -> DOMString

Source

fn SetName(&self, cx: &mut JSContext, value: DOMString)

Source

fn Sandbox(&self, cx: &mut JSContext) -> DomRoot<D::DOMTokenList>

Source

fn AllowFullscreen(&self) -> bool

Source

fn SetAllowFullscreen(&self, cx: &mut JSContext, value: bool)

Source

fn Width(&self) -> DOMString

Source

fn SetWidth(&self, cx: &mut JSContext, value: DOMString)

Source

fn Height(&self) -> DOMString

Source

fn SetHeight(&self, cx: &mut JSContext, value: DOMString)

Source

fn ReferrerPolicy(&self) -> DOMString

Source

fn SetReferrerPolicy(&self, cx: &mut JSContext, value: DOMString)

Source

fn Loading(&self) -> DOMString

Source

fn SetLoading(&self, cx: &mut JSContext, value: DOMString)

Source

fn GetContentDocument(&self) -> Option<DomRoot<D::Document>>

Source

fn GetContentWindow(&self) -> Option<DomRoot<D::WindowProxy>>

Source

fn FrameBorder(&self) -> DOMString

Source

fn SetFrameBorder(&self, cx: &mut JSContext, value: DOMString)

Source

fn LongDesc(&self) -> USVString

Source

fn SetLongDesc(&self, cx: &mut JSContext, value: USVString)

Implementors§