pub struct TimeBuilder(/* private fields */);
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.
Auto Trait Implementations§
impl Freeze for TimeBuilder
impl !RefUnwindSafe for TimeBuilder
impl !Send for TimeBuilder
impl !Sync for TimeBuilder
impl Unpin for TimeBuilder
impl !UnwindSafe for TimeBuilder
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more