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