Struct silkenweb_html::elements::PictureBuilder
source · pub struct PictureBuilder(_);
Implementations§
source§impl PictureBuilder
impl PictureBuilder
pub fn id(self, value: impl AttributeValue<String>) -> Self
pub fn class(self, value: impl AttributeValue<String>) -> Self
source§impl PictureBuilder
impl PictureBuilder
pub fn on_blur(
self,
f: impl 'static + FnMut(FocusEvent, HtmlPictureElement)
) -> Self
pub fn on_click(
self,
f: impl 'static + FnMut(MouseEvent, HtmlPictureElement)
) -> Self
pub fn on_change(
self,
f: impl 'static + FnMut(Event, HtmlPictureElement)
) -> Self
pub fn on_dblclick(
self,
f: impl 'static + FnMut(MouseEvent, HtmlPictureElement)
) -> Self
pub fn on_focusout(
self,
f: impl 'static + FnMut(FocusEvent, HtmlPictureElement)
) -> Self
pub fn on_input(
self,
f: impl 'static + FnMut(InputEvent, HtmlPictureElement)
) -> Self
pub fn on_keydown(
self,
f: impl 'static + FnMut(KeyboardEvent, HtmlPictureElement)
) -> Self
pub fn on_keyup(
self,
f: impl 'static + FnMut(KeyboardEvent, HtmlPictureElement)
) -> Self
pub fn effect(self, f: impl Effect<HtmlPictureElement>) -> Self
Trait Implementations§
source§impl Builder for PictureBuilder
impl Builder for PictureBuilder
source§impl DomElement for PictureBuilder
impl DomElement for PictureBuilder
type Target = HtmlPictureElement
fn dom_element(&self) -> Self::Target
source§impl From<PictureBuilder> for Element
impl From<PictureBuilder> for Element
source§fn from(builder: PictureBuilder) -> Self
fn from(builder: PictureBuilder) -> Self
Converts to this type from the input type.
source§impl From<PictureBuilder> for ElementBuilder
impl From<PictureBuilder> for ElementBuilder
source§fn from(builder: PictureBuilder) -> Self
fn from(builder: PictureBuilder) -> Self
Converts to this type from the input type.