Struct silkenweb_html::elements::InsBuilder
source · pub struct InsBuilder(_);
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.