Struct silkenweb_html::elements::TimeBuilder
source · pub struct TimeBuilder(_);
Implementations§
source§impl TimeBuilder
impl TimeBuilder
pub fn id(self, value: impl AttributeValue<String>) -> Self
pub fn class(self, value: impl AttributeValue<String>) -> Self
sourcepub fn datetime(self, value: impl AttributeValue<String>) -> Self
pub fn datetime(self, value: impl AttributeValue<String>) -> Self
This attribute indicates the time and/or date of the element and must be in one of the formats described below.
source§impl TimeBuilder
impl TimeBuilder
pub fn on_blur(
self,
f: impl 'static + FnMut(FocusEvent, HtmlTimeElement)
) -> Self
pub fn on_click(
self,
f: impl 'static + FnMut(MouseEvent, HtmlTimeElement)
) -> Self
pub fn on_change(self, f: impl 'static + FnMut(Event, HtmlTimeElement)) -> Self
pub fn on_dblclick(
self,
f: impl 'static + FnMut(MouseEvent, HtmlTimeElement)
) -> Self
pub fn on_focusout(
self,
f: impl 'static + FnMut(FocusEvent, HtmlTimeElement)
) -> Self
pub fn on_input(
self,
f: impl 'static + FnMut(InputEvent, HtmlTimeElement)
) -> Self
pub fn on_keydown(
self,
f: impl 'static + FnMut(KeyboardEvent, HtmlTimeElement)
) -> Self
pub fn on_keyup(
self,
f: impl 'static + FnMut(KeyboardEvent, HtmlTimeElement)
) -> Self
pub fn effect(self, f: impl Effect<HtmlTimeElement>) -> Self
Trait Implementations§
source§impl Builder for TimeBuilder
impl Builder for TimeBuilder
source§impl DomElement for TimeBuilder
impl DomElement for TimeBuilder
type Target = HtmlTimeElement
fn dom_element(&self) -> Self::Target
source§impl From<TimeBuilder> for Element
impl From<TimeBuilder> for Element
source§fn from(builder: TimeBuilder) -> Self
fn from(builder: TimeBuilder) -> Self
Converts to this type from the input type.
source§impl From<TimeBuilder> for ElementBuilder
impl From<TimeBuilder> for ElementBuilder
source§fn from(builder: TimeBuilder) -> Self
fn from(builder: TimeBuilder) -> Self
Converts to this type from the input type.