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