Struct silkenweb_html::elements::DataBuilder [−][src]
pub struct DataBuilder(_);
Implementations
impl DataBuilder[src]
impl DataBuilder[src]pub fn id(self, value: impl AttributeValue<String>) -> Self[src]
pub fn class(self, value: impl AttributeValue<String>) -> Self[src]
pub fn value(self, value: impl AttributeValue<String>) -> Self[src]
This attribute specifies the machine-readable translation of the content of the element.
impl DataBuilder[src]
impl DataBuilder[src]pub fn on_blur(
self,
f: impl 'static + FnMut(FocusEvent, HtmlDataElement)
) -> Self[src]
self,
f: impl 'static + FnMut(FocusEvent, HtmlDataElement)
) -> Self
pub fn on_click(
self,
f: impl 'static + FnMut(MouseEvent, HtmlDataElement)
) -> Self[src]
self,
f: impl 'static + FnMut(MouseEvent, HtmlDataElement)
) -> Self
pub fn on_change(self, f: impl 'static + FnMut(Event, HtmlDataElement)) -> Self[src]
pub fn on_dblclick(
self,
f: impl 'static + FnMut(MouseEvent, HtmlDataElement)
) -> Self[src]
self,
f: impl 'static + FnMut(MouseEvent, HtmlDataElement)
) -> Self
pub fn on_focusout(
self,
f: impl 'static + FnMut(FocusEvent, HtmlDataElement)
) -> Self[src]
self,
f: impl 'static + FnMut(FocusEvent, HtmlDataElement)
) -> Self
pub fn on_input(
self,
f: impl 'static + FnMut(InputEvent, HtmlDataElement)
) -> Self[src]
self,
f: impl 'static + FnMut(InputEvent, HtmlDataElement)
) -> Self
pub fn on_keydown(
self,
f: impl 'static + FnMut(KeyboardEvent, HtmlDataElement)
) -> Self[src]
self,
f: impl 'static + FnMut(KeyboardEvent, HtmlDataElement)
) -> Self
pub fn on_keyup(
self,
f: impl 'static + FnMut(KeyboardEvent, HtmlDataElement)
) -> Self[src]
self,
f: impl 'static + FnMut(KeyboardEvent, HtmlDataElement)
) -> Self
pub fn effect(self, f: impl Effect<HtmlDataElement>) -> Self[src]
impl DataBuilder[src]
impl DataBuilder[src]Trait Implementations
impl Builder for DataBuilder[src]
impl Builder for DataBuilder[src]impl DomElement for DataBuilder[src]
impl DomElement for DataBuilder[src]type Target = HtmlDataElement
fn dom_element(&self) -> Self::Target[src]
impl From<DataBuilder> for Element[src]
impl From<DataBuilder> for Element[src]fn from(builder: DataBuilder) -> Self[src]
impl From<DataBuilder> for ElementBuilder[src]
impl From<DataBuilder> for ElementBuilder[src]fn from(builder: DataBuilder) -> Self[src]
Auto Trait Implementations
impl !RefUnwindSafe for DataBuilder
impl !RefUnwindSafe for DataBuilderimpl !Send for DataBuilder
impl !Send for DataBuilderimpl !Sync for DataBuilder
impl !Sync for DataBuilderimpl Unpin for DataBuilder
impl Unpin for DataBuilderimpl !UnwindSafe for DataBuilder
impl !UnwindSafe for DataBuilder