pub struct H1Builder(/* private fields */);
Implementations§
Source§impl H1Builder
impl H1Builder
pub fn id(self, value: impl AttributeValue<String>) -> Self
pub fn class(self, value: impl AttributeValue<String>) -> Self
Source§impl H1Builder
impl H1Builder
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 H1Builder
impl DomElement for H1Builder
type Target = HtmlHeadingElement
fn dom_element(&self) -> Self::Target
Auto Trait Implementations§
impl Freeze for H1Builder
impl !RefUnwindSafe for H1Builder
impl !Send for H1Builder
impl !Sync for H1Builder
impl Unpin for H1Builder
impl !UnwindSafe for H1Builder
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