Struct silkenweb_html::elements::DialogBuilder [−][src]
pub struct DialogBuilder(_);
Implementations
impl DialogBuilder[src]
impl DialogBuilder[src]pub fn id(self, value: impl AttributeValue<String>) -> Self[src]
pub fn class(self, value: impl AttributeValue<String>) -> Self[src]
pub fn open(self, value: impl AttributeValue<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.
impl DialogBuilder[src]
impl DialogBuilder[src]pub fn on_blur(
self,
f: impl 'static + FnMut(FocusEvent, HtmlDialogElement)
) -> Self[src]
self,
f: impl 'static + FnMut(FocusEvent, HtmlDialogElement)
) -> Self
pub fn on_click(
self,
f: impl 'static + FnMut(MouseEvent, HtmlDialogElement)
) -> Self[src]
self,
f: impl 'static + FnMut(MouseEvent, HtmlDialogElement)
) -> Self
pub fn on_change(
self,
f: impl 'static + FnMut(Event, HtmlDialogElement)
) -> Self[src]
self,
f: impl 'static + FnMut(Event, HtmlDialogElement)
) -> Self
pub fn on_dblclick(
self,
f: impl 'static + FnMut(MouseEvent, HtmlDialogElement)
) -> Self[src]
self,
f: impl 'static + FnMut(MouseEvent, HtmlDialogElement)
) -> Self
pub fn on_focusout(
self,
f: impl 'static + FnMut(FocusEvent, HtmlDialogElement)
) -> Self[src]
self,
f: impl 'static + FnMut(FocusEvent, HtmlDialogElement)
) -> Self
pub fn on_input(
self,
f: impl 'static + FnMut(InputEvent, HtmlDialogElement)
) -> Self[src]
self,
f: impl 'static + FnMut(InputEvent, HtmlDialogElement)
) -> Self
pub fn on_keydown(
self,
f: impl 'static + FnMut(KeyboardEvent, HtmlDialogElement)
) -> Self[src]
self,
f: impl 'static + FnMut(KeyboardEvent, HtmlDialogElement)
) -> Self
pub fn on_keyup(
self,
f: impl 'static + FnMut(KeyboardEvent, HtmlDialogElement)
) -> Self[src]
self,
f: impl 'static + FnMut(KeyboardEvent, HtmlDialogElement)
) -> Self
pub fn effect(self, f: impl Effect<HtmlDialogElement>) -> Self[src]
impl DialogBuilder[src]
impl DialogBuilder[src]Trait Implementations
impl Builder for DialogBuilder[src]
impl Builder for DialogBuilder[src]impl DomElement for DialogBuilder[src]
impl DomElement for DialogBuilder[src]type Target = HtmlDialogElement
fn dom_element(&self) -> Self::Target[src]
impl From<DialogBuilder> for Element[src]
impl From<DialogBuilder> for Element[src]fn from(builder: DialogBuilder) -> Self[src]
impl From<DialogBuilder> for ElementBuilder[src]
impl From<DialogBuilder> for ElementBuilder[src]fn from(builder: DialogBuilder) -> Self[src]
Auto Trait Implementations
impl !RefUnwindSafe for DialogBuilder
impl !RefUnwindSafe for DialogBuilderimpl !Send for DialogBuilder
impl !Send for DialogBuilderimpl !Sync for DialogBuilder
impl !Sync for DialogBuilderimpl Unpin for DialogBuilder
impl Unpin for DialogBuilderimpl !UnwindSafe for DialogBuilder
impl !UnwindSafe for DialogBuilder