Struct silkenweb::elements::ThBuilder [−][src]
pub struct ThBuilder(_);
Implementations
impl ThBuilder
[src]
impl ThBuilder
[src]pub fn id(self, value: impl AttributeValue<String>) -> ThBuilder
[src]
pub fn class(self, value: impl AttributeValue<String>) -> ThBuilder
[src]
pub fn abbr(self, value: impl AttributeValue<String>) -> ThBuilder
[src]
This attribute contains a short abbreviated description of the cell’s content. Some user-agents, such as speech readers, may present this description before the content itself.
pub fn colspan(self, value: impl AttributeValue<String>) -> ThBuilder
[src]
This attribute contains a non-negative integer value that indicates for how many columns the cell extends. Its default value is 1. Values higher than 1000 will be considered as incorrect and will be set to the default value (1).
pub fn headers(self, value: impl AttributeValue<String>) -> ThBuilder
[src]
This attribute contains a list of space-separated strings, each corresponding to the id
attribute of the <th>
elements that apply to this element.
pub fn rowspan(self, value: impl AttributeValue<String>) -> ThBuilder
[src]
This attribute contains a non-negative integer value that indicates for how many rows
the cell extends. Its default value is 1; if its value is set to 0, it extends until the
end of the table section (<thead>
, <tbody>
, <tfoot>
, even if implicitly defined),
that the cell belongs to. Values higher than 65534 are clipped down to 65534.
pub fn scope(self, value: impl AttributeValue<String>) -> ThBuilder
[src]
This enumerated attribute defines the cells that the header (defined in the <th>
)
element relates to. It may have the following values:
row
: The header relates to all cells of the row it belongs to.col
: The header relates to all cells of the column it belongs to.rowgroup
: The header belongs to a rowgroup and relates to all of its cells. These cells can be placed to the right or the left of the header, depending on the value of the dir attribute in the<table>
element.colgroup
: The header belongs to a colgroup and relates to all of its cells.auto
The default value when this attribute is not specified is auto.
impl ThBuilder
[src]
impl ThBuilder
[src]pub fn on_blur(
self,
f: impl FnMut(FocusEvent, HtmlTableCellElement) + 'static
) -> ThBuilder
[src]
self,
f: impl FnMut(FocusEvent, HtmlTableCellElement) + 'static
) -> ThBuilder
pub fn on_click(
self,
f: impl FnMut(MouseEvent, HtmlTableCellElement) + 'static
) -> ThBuilder
[src]
self,
f: impl FnMut(MouseEvent, HtmlTableCellElement) + 'static
) -> ThBuilder
pub fn on_change(
self,
f: impl FnMut(Event, HtmlTableCellElement) + 'static
) -> ThBuilder
[src]
self,
f: impl FnMut(Event, HtmlTableCellElement) + 'static
) -> ThBuilder
pub fn on_dblclick(
self,
f: impl FnMut(MouseEvent, HtmlTableCellElement) + 'static
) -> ThBuilder
[src]
self,
f: impl FnMut(MouseEvent, HtmlTableCellElement) + 'static
) -> ThBuilder
pub fn on_focusout(
self,
f: impl FnMut(FocusEvent, HtmlTableCellElement) + 'static
) -> ThBuilder
[src]
self,
f: impl FnMut(FocusEvent, HtmlTableCellElement) + 'static
) -> ThBuilder
pub fn on_input(
self,
f: impl FnMut(InputEvent, HtmlTableCellElement) + 'static
) -> ThBuilder
[src]
self,
f: impl FnMut(InputEvent, HtmlTableCellElement) + 'static
) -> ThBuilder
pub fn on_keydown(
self,
f: impl FnMut(KeyboardEvent, HtmlTableCellElement) + 'static
) -> ThBuilder
[src]
self,
f: impl FnMut(KeyboardEvent, HtmlTableCellElement) + 'static
) -> ThBuilder
pub fn on_keyup(
self,
f: impl FnMut(KeyboardEvent, HtmlTableCellElement) + 'static
) -> ThBuilder
[src]
self,
f: impl FnMut(KeyboardEvent, HtmlTableCellElement) + 'static
) -> ThBuilder
pub fn effect(self, f: impl Effect<HtmlTableCellElement>) -> ThBuilder
[src]
Trait Implementations
impl DomElement for ThBuilder
[src]
impl DomElement for ThBuilder
[src]type Target = HtmlTableCellElement
pub fn dom_element(&self) -> <ThBuilder as DomElement>::Target
[src]
impl From<ThBuilder> for ElementBuilder
[src]
impl From<ThBuilder> for ElementBuilder
[src]pub fn from(builder: ThBuilder) -> ElementBuilder
[src]
Auto Trait Implementations
impl !RefUnwindSafe for ThBuilder
impl !RefUnwindSafe for ThBuilder
impl !UnwindSafe for ThBuilder
impl !UnwindSafe for ThBuilder