Struct silkenweb_html::elements::ColgroupBuilder[][src]

pub struct ColgroupBuilder(_);

Implementations

impl ColgroupBuilder[src]

pub fn id(self, value: impl AttributeValue<String>) -> Self[src]

pub fn class(self, value: impl AttributeValue<String>) -> Self[src]

pub fn span(self, value: impl AttributeValue<String>) -> Self[src]

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>.

impl ColgroupBuilder[src]

pub fn on_blur(
    self,
    f: impl 'static + FnMut(FocusEvent, HtmlTableColElement)
) -> Self
[src]

pub fn on_click(
    self,
    f: impl 'static + FnMut(MouseEvent, HtmlTableColElement)
) -> Self
[src]

pub fn on_change(
    self,
    f: impl 'static + FnMut(Event, HtmlTableColElement)
) -> Self
[src]

pub fn on_dblclick(
    self,
    f: impl 'static + FnMut(MouseEvent, HtmlTableColElement)
) -> Self
[src]

pub fn on_focusout(
    self,
    f: impl 'static + FnMut(FocusEvent, HtmlTableColElement)
) -> Self
[src]

pub fn on_input(
    self,
    f: impl 'static + FnMut(InputEvent, HtmlTableColElement)
) -> Self
[src]

pub fn on_keydown(
    self,
    f: impl 'static + FnMut(KeyboardEvent, HtmlTableColElement)
) -> Self
[src]

pub fn on_keyup(
    self,
    f: impl 'static + FnMut(KeyboardEvent, HtmlTableColElement)
) -> Self
[src]

pub fn effect(self, f: impl Effect<HtmlTableColElement>) -> Self[src]

impl ColgroupBuilder[src]

pub fn text(self, child: impl Text) -> Self[src]

pub fn child<Child>(self, c: Child) -> Self where
    Child: Into<Element>, 
[src]

Trait Implementations

impl Builder for ColgroupBuilder[src]

type Target = Colgroup

impl DomElement for ColgroupBuilder[src]

impl From<ColgroupBuilder> for Element[src]

impl From<ColgroupBuilder> for ElementBuilder[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.