pub trait HTMLIFrameElementMethods<D>
where D: DomTypes,
{
Show 19 methods // Required methods fn Src(&self) -> USVString; fn SetSrc(&self, value: USVString); fn Srcdoc(&self) -> TrustedHTMLOrString<D>; fn SetSrcdoc( &self, value: TrustedHTMLOrString<D>, _can_gc: CanGc, ) -> Result<(), Error>; fn Name(&self) -> DOMString; fn SetName(&self, value: DOMString); fn Sandbox( &self, _can_gc: CanGc, ) -> Root<Dom<<D as DomTypes>::DOMTokenList>>; fn AllowFullscreen(&self) -> bool; fn SetAllowFullscreen(&self, value: bool); fn Width(&self) -> DOMString; fn SetWidth(&self, value: DOMString); fn ReferrerPolicy(&self) -> DOMString; fn SetReferrerPolicy(&self, value: DOMString); fn Height(&self) -> DOMString; fn SetHeight(&self, value: DOMString); fn GetContentDocument(&self) -> Option<Root<Dom<<D as DomTypes>::Document>>>; fn GetContentWindow( &self, ) -> Option<Root<Dom<<D as DomTypes>::WindowProxy>>>; fn FrameBorder(&self) -> DOMString; fn SetFrameBorder(&self, value: DOMString);
}

Required Methods§

Source

fn Src(&self) -> USVString

Source

fn SetSrc(&self, value: USVString)

Source

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

Source

fn SetSrcdoc( &self, value: TrustedHTMLOrString<D>, _can_gc: CanGc, ) -> Result<(), Error>

Source

fn Name(&self) -> DOMString

Source

fn SetName(&self, value: DOMString)

Source

fn Sandbox(&self, _can_gc: CanGc) -> Root<Dom<<D as DomTypes>::DOMTokenList>>

Source

fn AllowFullscreen(&self) -> bool

Source

fn SetAllowFullscreen(&self, value: bool)

Source

fn Width(&self) -> DOMString

Source

fn SetWidth(&self, value: DOMString)

Source

fn ReferrerPolicy(&self) -> DOMString

Source

fn SetReferrerPolicy(&self, value: DOMString)

Source

fn Height(&self) -> DOMString

Source

fn SetHeight(&self, value: DOMString)

Source

fn GetContentDocument(&self) -> Option<Root<Dom<<D as DomTypes>::Document>>>

Source

fn GetContentWindow(&self) -> Option<Root<Dom<<D as DomTypes>::WindowProxy>>>

Source

fn FrameBorder(&self) -> DOMString

Source

fn SetFrameBorder(&self, value: DOMString)

Implementors§