Skip to main content

HTMLDialogElementMethods

pub trait HTMLDialogElementMethods<D: DomTypes> {
    // Required methods
    fn Open(&self) -> bool;
    fn SetOpen(&self, cx: &mut JSContext, value: bool);
    fn ReturnValue(&self) -> DOMString;
    fn SetReturnValue(&self, cx: &mut JSContext, value: DOMString);
    fn Show(&self, cx: &mut JSContext) -> Fallible<()>;
    fn ShowModal(&self, cx: &mut JSContext) -> Fallible<()>;
    fn Close(&self, cx: &mut JSContext, returnValue: Option<DOMString>);
}

Required Methods§

Source

fn Open(&self) -> bool

Source

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

Source

fn ReturnValue(&self) -> DOMString

Source

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

Source

fn Show(&self, cx: &mut JSContext) -> Fallible<()>

Source

fn ShowModal(&self, cx: &mut JSContext) -> Fallible<()>

Source

fn Close(&self, cx: &mut JSContext, returnValue: Option<DOMString>)

Implementors§