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