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