[][src]Struct moxie_dom::elements::interactive::DialogBuilder

#[must_use = "needs to be built"]pub struct DialogBuilder { /* fields omitted */ }

The HTML <dialog> element represents a dialog box or other interactive component, such as an inspector or window.

A type for initializing the element's attributes before calling build.

Implementations

impl DialogBuilder[src]

pub fn build(self) -> Dialog[src]

Initialize the element with all of the attributes so far.

impl DialogBuilder[src]

pub fn open(self, to_set: bool) -> Self[src]

Indicates that the dialog is active and can be interacted with. When the open attribute is not set, the dialog shouldn't be shown to the user.

Trait Implementations

impl ElementBuilder for DialogBuilder[src]

impl<E> EventTarget<E> for DialogBuilder where
    E: GlobalEvent
[src]

impl GlobalEventHandler for DialogBuilder[src]

impl HtmlElementBuilder for DialogBuilder[src]

impl NodeWrapper for DialogBuilder[src]

impl<Child> Parent<Child> for DialogBuilder where
    Child: FlowContent
[src]

Auto Trait Implementations

impl !RefUnwindSafe for DialogBuilder[src]

impl !Send for DialogBuilder[src]

impl !Sync for DialogBuilder[src]

impl Unpin for DialogBuilder[src]

impl !UnwindSafe for DialogBuilder[src]

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<N> Child for N where
    N: NodeWrapper
[src]

impl<T> Downcast for T where
    T: Any

impl<T> Erased for T

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.