Struct silkenweb_html::elements::BdoBuilder
source · pub struct BdoBuilder(_);
Implementations§
source§impl BdoBuilder
impl BdoBuilder
pub fn id(self, value: impl AttributeValue<String>) -> Self
pub fn class(self, value: impl AttributeValue<String>) -> Self
sourcepub fn dir(self, value: impl AttributeValue<String>) -> Self
pub fn dir(self, value: impl AttributeValue<String>) -> Self
The direction in which text should be rendered in this element’s contents. Possible values are:
ltr
: Indicates that the text should go in a left-to-right direction.rtl
: Indicates that the text should go in a right-to-left direction.
source§impl BdoBuilder
impl BdoBuilder
pub fn on_blur(self, f: impl 'static + FnMut(FocusEvent, HtmlElement)) -> Self
pub fn on_click(self, f: impl 'static + FnMut(MouseEvent, HtmlElement)) -> Self
pub fn on_change(self, f: impl 'static + FnMut(Event, HtmlElement)) -> Self
pub fn on_dblclick(
self,
f: impl 'static + FnMut(MouseEvent, HtmlElement)
) -> Self
pub fn on_focusout(
self,
f: impl 'static + FnMut(FocusEvent, HtmlElement)
) -> Self
pub fn on_input(self, f: impl 'static + FnMut(InputEvent, HtmlElement)) -> Self
pub fn on_keydown(
self,
f: impl 'static + FnMut(KeyboardEvent, HtmlElement)
) -> Self
pub fn on_keyup(
self,
f: impl 'static + FnMut(KeyboardEvent, HtmlElement)
) -> Self
pub fn effect(self, f: impl Effect<HtmlElement>) -> Self
Trait Implementations§
source§impl Builder for BdoBuilder
impl Builder for BdoBuilder
source§impl DomElement for BdoBuilder
impl DomElement for BdoBuilder
type Target = HtmlElement
fn dom_element(&self) -> Self::Target
source§impl From<BdoBuilder> for Element
impl From<BdoBuilder> for Element
source§fn from(builder: BdoBuilder) -> Self
fn from(builder: BdoBuilder) -> Self
Converts to this type from the input type.
source§impl From<BdoBuilder> for ElementBuilder
impl From<BdoBuilder> for ElementBuilder
source§fn from(builder: BdoBuilder) -> Self
fn from(builder: BdoBuilder) -> Self
Converts to this type from the input type.