pub struct BrBuilder(/* private fields */);
Implementations§
Source§impl BrBuilder
impl BrBuilder
pub fn id(self, value: impl AttributeValue<String>) -> Self
pub fn class(self, value: impl AttributeValue<String>) -> Self
Source§impl BrBuilder
impl BrBuilder
pub fn on_blur(self, f: impl 'static + FnMut(FocusEvent, HtmlBrElement)) -> Self
pub fn on_click( self, f: impl 'static + FnMut(MouseEvent, HtmlBrElement), ) -> Self
pub fn on_change(self, f: impl 'static + FnMut(Event, HtmlBrElement)) -> Self
pub fn on_dblclick( self, f: impl 'static + FnMut(MouseEvent, HtmlBrElement), ) -> Self
pub fn on_focusout( self, f: impl 'static + FnMut(FocusEvent, HtmlBrElement), ) -> Self
pub fn on_input( self, f: impl 'static + FnMut(InputEvent, HtmlBrElement), ) -> Self
pub fn on_keydown( self, f: impl 'static + FnMut(KeyboardEvent, HtmlBrElement), ) -> Self
pub fn on_keyup( self, f: impl 'static + FnMut(KeyboardEvent, HtmlBrElement), ) -> Self
pub fn effect(self, f: impl Effect<HtmlBrElement>) -> Self
Trait Implementations§
Source§impl DomElement for BrBuilder
impl DomElement for BrBuilder
type Target = HtmlBrElement
fn dom_element(&self) -> Self::Target
Auto Trait Implementations§
impl Freeze for BrBuilder
impl !RefUnwindSafe for BrBuilder
impl !Send for BrBuilder
impl !Sync for BrBuilder
impl Unpin for BrBuilder
impl !UnwindSafe for BrBuilder
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