pub trait HTMLTableElementMethods {
Show 21 methods
// Required methods
fn GetCaption(&self) -> Option<Root<Dom<HTMLTableCaptionElement>>>;
fn SetCaption(
&self,
value: Option<&HTMLTableCaptionElement>,
) -> Result<(), Error>;
fn CreateCaption(
&self,
_can_gc: CanGc,
) -> Root<Dom<HTMLTableCaptionElement>>;
fn DeleteCaption(&self);
fn GetTHead(&self) -> Option<Root<Dom<HTMLTableSectionElement>>>;
fn SetTHead(
&self,
value: Option<&HTMLTableSectionElement>,
) -> Result<(), Error>;
fn CreateTHead(&self, _can_gc: CanGc) -> Root<Dom<HTMLTableSectionElement>>;
fn DeleteTHead(&self);
fn GetTFoot(&self) -> Option<Root<Dom<HTMLTableSectionElement>>>;
fn SetTFoot(
&self,
value: Option<&HTMLTableSectionElement>,
) -> Result<(), Error>;
fn CreateTFoot(&self, _can_gc: CanGc) -> Root<Dom<HTMLTableSectionElement>>;
fn DeleteTFoot(&self);
fn TBodies(&self) -> Root<Dom<HTMLCollection>>;
fn CreateTBody(&self, _can_gc: CanGc) -> Root<Dom<HTMLTableSectionElement>>;
fn Rows(&self) -> Root<Dom<HTMLCollection>>;
fn InsertRow(
&self,
index: i32,
_can_gc: CanGc,
) -> Result<Root<Dom<HTMLTableRowElement>>, Error>;
fn DeleteRow(&self, index: i32) -> Result<(), Error>;
fn Width(&self) -> DOMString;
fn SetWidth(&self, value: DOMString);
fn BgColor(&self) -> DOMString;
fn SetBgColor(&self, value: DOMString);
}