Struct silkenweb_html::elements::TdBuilder [−][src]
pub struct TdBuilder(_);
Implementations
impl TdBuilder[src]
impl TdBuilder[src]pub fn id(self, value: impl AttributeValue<String>) -> Self[src]
pub fn class(self, value: impl AttributeValue<String>) -> Self[src]
pub fn colspan(self, value: impl AttributeValue<String>) -> Self[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>) -> Self[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>) -> Self[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.
impl TdBuilder[src]
impl TdBuilder[src]pub fn on_blur(
self,
f: impl 'static + FnMut(FocusEvent, HtmlTableCellElement)
) -> Self[src]
self,
f: impl 'static + FnMut(FocusEvent, HtmlTableCellElement)
) -> Self
pub fn on_click(
self,
f: impl 'static + FnMut(MouseEvent, HtmlTableCellElement)
) -> Self[src]
self,
f: impl 'static + FnMut(MouseEvent, HtmlTableCellElement)
) -> Self
pub fn on_change(
self,
f: impl 'static + FnMut(Event, HtmlTableCellElement)
) -> Self[src]
self,
f: impl 'static + FnMut(Event, HtmlTableCellElement)
) -> Self
pub fn on_dblclick(
self,
f: impl 'static + FnMut(MouseEvent, HtmlTableCellElement)
) -> Self[src]
self,
f: impl 'static + FnMut(MouseEvent, HtmlTableCellElement)
) -> Self
pub fn on_focusout(
self,
f: impl 'static + FnMut(FocusEvent, HtmlTableCellElement)
) -> Self[src]
self,
f: impl 'static + FnMut(FocusEvent, HtmlTableCellElement)
) -> Self
pub fn on_input(
self,
f: impl 'static + FnMut(InputEvent, HtmlTableCellElement)
) -> Self[src]
self,
f: impl 'static + FnMut(InputEvent, HtmlTableCellElement)
) -> Self
pub fn on_keydown(
self,
f: impl 'static + FnMut(KeyboardEvent, HtmlTableCellElement)
) -> Self[src]
self,
f: impl 'static + FnMut(KeyboardEvent, HtmlTableCellElement)
) -> Self
pub fn on_keyup(
self,
f: impl 'static + FnMut(KeyboardEvent, HtmlTableCellElement)
) -> Self[src]
self,
f: impl 'static + FnMut(KeyboardEvent, HtmlTableCellElement)
) -> Self
pub fn effect(self, f: impl Effect<HtmlTableCellElement>) -> Self[src]
Trait Implementations
impl DomElement for TdBuilder[src]
impl DomElement for TdBuilder[src]type Target = HtmlTableCellElement
fn dom_element(&self) -> Self::Target[src]
Auto Trait Implementations
impl !RefUnwindSafe for TdBuilder
impl !RefUnwindSafe for TdBuilderimpl !UnwindSafe for TdBuilder
impl !UnwindSafe for TdBuilder