Struct silkenweb_html::elements::DetailsBuilder
source · pub struct DetailsBuilder(_);
Implementations§
source§impl DetailsBuilder
impl DetailsBuilder
pub fn id(self, value: impl AttributeValue<String>) -> Self
pub fn class(self, value: impl AttributeValue<String>) -> Self
sourcepub fn open(self, value: impl AttributeValue<bool>) -> Self
pub fn open(self, value: impl AttributeValue<bool>) -> Self
Indicates whether the details will be shown on page load.
source§impl DetailsBuilder
impl DetailsBuilder
pub fn on_blur(
self,
f: impl 'static + FnMut(FocusEvent, HtmlDetailsElement)
) -> Self
pub fn on_click(
self,
f: impl 'static + FnMut(MouseEvent, HtmlDetailsElement)
) -> Self
pub fn on_change(
self,
f: impl 'static + FnMut(Event, HtmlDetailsElement)
) -> Self
pub fn on_dblclick(
self,
f: impl 'static + FnMut(MouseEvent, HtmlDetailsElement)
) -> Self
pub fn on_focusout(
self,
f: impl 'static + FnMut(FocusEvent, HtmlDetailsElement)
) -> Self
pub fn on_input(
self,
f: impl 'static + FnMut(InputEvent, HtmlDetailsElement)
) -> Self
pub fn on_keydown(
self,
f: impl 'static + FnMut(KeyboardEvent, HtmlDetailsElement)
) -> Self
pub fn on_keyup(
self,
f: impl 'static + FnMut(KeyboardEvent, HtmlDetailsElement)
) -> Self
pub fn effect(self, f: impl Effect<HtmlDetailsElement>) -> Self
Trait Implementations§
source§impl Builder for DetailsBuilder
impl Builder for DetailsBuilder
source§impl DomElement for DetailsBuilder
impl DomElement for DetailsBuilder
type Target = HtmlDetailsElement
fn dom_element(&self) -> Self::Target
source§impl From<DetailsBuilder> for Element
impl From<DetailsBuilder> for Element
source§fn from(builder: DetailsBuilder) -> Self
fn from(builder: DetailsBuilder) -> Self
Converts to this type from the input type.
source§impl From<DetailsBuilder> for ElementBuilder
impl From<DetailsBuilder> for ElementBuilder
source§fn from(builder: DetailsBuilder) -> Self
fn from(builder: DetailsBuilder) -> Self
Converts to this type from the input type.