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