Struct silkenweb_html::elements::ColgroupBuilder
source · pub struct ColgroupBuilder(_);
Implementations§
source§impl ColgroupBuilder
impl ColgroupBuilder
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 <colgroup>
element spans. If not present, its default value is 1.
Note: This attribute is applied on the attributes of the column group, it has no effect on the CSS styling rules associated with it or, even more, to the cells of the column’s members of the group.
The span attribute is not permitted if there are one or more
<col>
elements within the<colgroup>
.
source§impl ColgroupBuilder
impl ColgroupBuilder
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 ColgroupBuilder
impl Builder for ColgroupBuilder
source§impl DomElement for ColgroupBuilder
impl DomElement for ColgroupBuilder
type Target = HtmlTableColElement
fn dom_element(&self) -> Self::Target
source§impl From<ColgroupBuilder> for Element
impl From<ColgroupBuilder> for Element
source§fn from(builder: ColgroupBuilder) -> Self
fn from(builder: ColgroupBuilder) -> Self
Converts to this type from the input type.
source§impl From<ColgroupBuilder> for ElementBuilder
impl From<ColgroupBuilder> for ElementBuilder
source§fn from(builder: ColgroupBuilder) -> Self
fn from(builder: ColgroupBuilder) -> Self
Converts to this type from the input type.