HTMLTableElement
Constructors
<init>
Exposes the JavaScript HTMLTableElement to Kotlin
HTMLTableElement()
Properties
align
open var align: String
bgColor
open var bgColor: String
border
open var border: String
caption
open var caption: HTMLTableCaptionElement?
cellPadding
open var cellPadding: String
cellSpacing
open var cellSpacing: String
frame
open var frame: String
rows
open val rows: HTMLCollection
rules
open var rules: String
summary
open var summary: String
tBodies
open val tBodies: HTMLCollection
tFoot
open var tFoot: HTMLTableSectionElement?
tHead
open var tHead: HTMLTableSectionElement?
width
open var width: String
Functions
createCaption
fun createCaption(): HTMLTableCaptionElement
createTBody
fun createTBody(): HTMLTableSectionElement
createTFoot
fun createTFoot(): HTMLTableSectionElement
createTHead
fun createTHead(): HTMLTableSectionElement
deleteCaption
fun deleteCaption()
deleteRow
fun deleteRow(index: Int)
deleteTFoot
fun deleteTFoot()
deleteTHead
fun deleteTHead()
insertRow
fun insertRow(
index: Int = definedExternally
): HTMLTableRowElement
Extension Properties
Extension Functions
addClass
Adds CSS class to element. Has no effect if all specified classes are already in class attribute of the element
fun Element.addClass(vararg cssClasses: String): Boolean
hasClass
Returns true if the element has the given CSS class style in its 'class' attribute
fun Element.hasClass(cssClass: String): Boolean
removeClass
Removes all cssClasses from element. Has no effect if all specified classes are missing in class attribute of the element
fun Element.removeClass(vararg cssClasses: String): Boolean