pub struct InsBuilder(/* private fields */);
Implementations§
Source§impl InsBuilder
impl InsBuilder
pub fn id(self, value: impl AttributeValue<String>) -> Self
pub fn class(self, value: impl AttributeValue<String>) -> Self
Sourcepub fn cite(self, value: impl AttributeValue<String>) -> Self
pub fn cite(self, value: impl AttributeValue<String>) -> Self
A URI for a resource that explains the change (for example, meeting minutes).
Sourcepub fn datetime(self, value: impl AttributeValue<String>) -> Self
pub fn datetime(self, value: impl AttributeValue<String>) -> Self
This attribute indicates the time and date of the change and must be a valid date string with an optional time. If the value cannot be parsed as a date with an optional time string, the element does not have an associated time stamp. For the format of the string without a time, see Date strings. The format of the string if it includes both date and time is covered in Local date and time strings.
Source§impl InsBuilder
impl InsBuilder
pub fn on_blur( self, f: impl 'static + FnMut(FocusEvent, HtmlModElement), ) -> Self
pub fn on_click( self, f: impl 'static + FnMut(MouseEvent, HtmlModElement), ) -> Self
pub fn on_change(self, f: impl 'static + FnMut(Event, HtmlModElement)) -> Self
pub fn on_dblclick( self, f: impl 'static + FnMut(MouseEvent, HtmlModElement), ) -> Self
pub fn on_focusout( self, f: impl 'static + FnMut(FocusEvent, HtmlModElement), ) -> Self
pub fn on_input( self, f: impl 'static + FnMut(InputEvent, HtmlModElement), ) -> Self
pub fn on_keydown( self, f: impl 'static + FnMut(KeyboardEvent, HtmlModElement), ) -> Self
pub fn on_keyup( self, f: impl 'static + FnMut(KeyboardEvent, HtmlModElement), ) -> Self
pub fn effect(self, f: impl Effect<HtmlModElement>) -> Self
Trait Implementations§
Source§impl Builder for InsBuilder
impl Builder for InsBuilder
Source§impl DomElement for InsBuilder
impl DomElement for InsBuilder
type Target = HtmlModElement
fn dom_element(&self) -> Self::Target
Source§impl From<InsBuilder> for Element
impl From<InsBuilder> for Element
Source§fn from(builder: InsBuilder) -> Self
fn from(builder: InsBuilder) -> Self
Converts to this type from the input type.
Source§impl From<InsBuilder> for ElementBuilder
impl From<InsBuilder> for ElementBuilder
Source§fn from(builder: InsBuilder) -> Self
fn from(builder: InsBuilder) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for InsBuilder
impl !RefUnwindSafe for InsBuilder
impl !Send for InsBuilder
impl !Sync for InsBuilder
impl Unpin for InsBuilder
impl !UnwindSafe for InsBuilder
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