HTMLObjectElement
Constructors
<init>
Exposes the JavaScript HTMLObjectElement to Kotlin
HTMLObjectElement()
Properties
align
open var align: String
archive
open var archive: String
border
open var border: String
code
open var code: String
codeBase
open var codeBase: String
codeType
open var codeType: String
contentDocument
open val contentDocument: Document?
contentWindow
open val contentWindow: Window?
data
open var data: String
declare
open var declare: Boolean
form
open val form: HTMLFormElement?
height
open var height: String
hspace
open var hspace: Int
name
open var name: String
standby
open var standby: String
type
open var type: String
typeMustMatch
open var typeMustMatch: Boolean
useMap
open var useMap: String
validationMessage
open val validationMessage: String
validity
open val validity: ValidityState
vspace
open var vspace: Int
width
open var width: String
willValidate
open val willValidate: Boolean
Functions
checkValidity
fun checkValidity(): Boolean
getSVGDocument
fun getSVGDocument(): Document?
reportValidity
fun reportValidity(): Boolean
setCustomValidity
fun setCustomValidity(error: String)
Companion Object Properties
ATTRIBUTE_NODE
val ATTRIBUTE_NODE: Short
CDATA_SECTION_NODE
val CDATA_SECTION_NODE: Short
COMMENT_NODE
val COMMENT_NODE: Short
DOCUMENT_FRAGMENT_NODE
val DOCUMENT_FRAGMENT_NODE: Short
DOCUMENT_NODE
val DOCUMENT_NODE: Short
DOCUMENT_POSITION_CONTAINED_BY
val DOCUMENT_POSITION_CONTAINED_BY: Short
DOCUMENT_POSITION_CONTAINS
val DOCUMENT_POSITION_CONTAINS: Short
DOCUMENT_POSITION_DISCONNECTED
val DOCUMENT_POSITION_DISCONNECTED: Short
DOCUMENT_POSITION_FOLLOWING
val DOCUMENT_POSITION_FOLLOWING: Short
DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC
val DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC: Short
DOCUMENT_POSITION_PRECEDING
val DOCUMENT_POSITION_PRECEDING: Short
DOCUMENT_TYPE_NODE
val DOCUMENT_TYPE_NODE: Short
ELEMENT_NODE
val ELEMENT_NODE: Short
ENTITY_NODE
val ENTITY_NODE: Short
ENTITY_REFERENCE_NODE
val ENTITY_REFERENCE_NODE: Short
NOTATION_NODE
val NOTATION_NODE: Short
PROCESSING_INSTRUCTION_NODE
val PROCESSING_INSTRUCTION_NODE: Short
TEXT_NODE
val TEXT_NODE: Short
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