Struct silkenweb_html::elements::ColBuilder
source · pub struct ColBuilder(_);
Implementations§
source§impl ColBuilder
impl ColBuilder
pub fn id(self, value: impl AttributeValue<String>) -> Self
pub fn class(self, value: impl AttributeValue<String>) -> Self
sourcepub fn span(self, value: impl AttributeValue<String>) -> Self
pub fn span(self, value: impl AttributeValue<String>) -> Self
This attribute contains a positive integer indicating the number of consecutive columns
the <col>
element spans. If not present, its default value is 1.
source§impl ColBuilder
impl ColBuilder
pub fn on_blur(
self,
f: impl 'static + FnMut(FocusEvent, HtmlTableColElement)
) -> Self
pub fn on_click(
self,
f: impl 'static + FnMut(MouseEvent, HtmlTableColElement)
) -> Self
pub fn on_change(
self,
f: impl 'static + FnMut(Event, HtmlTableColElement)
) -> Self
pub fn on_dblclick(
self,
f: impl 'static + FnMut(MouseEvent, HtmlTableColElement)
) -> Self
pub fn on_focusout(
self,
f: impl 'static + FnMut(FocusEvent, HtmlTableColElement)
) -> Self
pub fn on_input(
self,
f: impl 'static + FnMut(InputEvent, HtmlTableColElement)
) -> Self
pub fn on_keydown(
self,
f: impl 'static + FnMut(KeyboardEvent, HtmlTableColElement)
) -> Self
pub fn on_keyup(
self,
f: impl 'static + FnMut(KeyboardEvent, HtmlTableColElement)
) -> Self
pub fn effect(self, f: impl Effect<HtmlTableColElement>) -> Self
Trait Implementations§
source§impl Builder for ColBuilder
impl Builder for ColBuilder
source§impl DomElement for ColBuilder
impl DomElement for ColBuilder
type Target = HtmlTableColElement
fn dom_element(&self) -> Self::Target
source§impl From<ColBuilder> for Element
impl From<ColBuilder> for Element
source§fn from(builder: ColBuilder) -> Self
fn from(builder: ColBuilder) -> Self
Converts to this type from the input type.
source§impl From<ColBuilder> for ElementBuilder
impl From<ColBuilder> for ElementBuilder
source§fn from(builder: ColBuilder) -> Self
fn from(builder: ColBuilder) -> Self
Converts to this type from the input type.