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