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