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