pub struct BdoBuilder(/* private fields */);
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.
Auto Trait Implementations§
impl Freeze for BdoBuilder
impl !RefUnwindSafe for BdoBuilder
impl !Send for BdoBuilder
impl !Sync for BdoBuilder
impl Unpin for BdoBuilder
impl !UnwindSafe for BdoBuilder
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