HTMLObjectElement

Overview

The HTMLObjectElement interface provides special properties and methods (beyond those on the HTMLElement interface it also has available to it by inheritance) for manipulating the layout and presentation of <object> element, representing external resources.

Location

 

checkValidity

Retuns a Boolean that always is true, because object objects are never candidates for constraint validation.

 

method checkValidity: Boolean

 

Boolean checkValidity()

 

func checkValidity() -> Boolean

 

Boolean checkValidity()

 

Function checkValidity() As Boolean

contentDocument

 

property contentDocument: dynamic read;

 

dynamic contentDocument { get; }

 

var contentDocument: dynamic { get{} }

 

dynamic contentDocument { __get; }

 

ReadOnly Property contentDocument() As dynamic

contentWindow

 

property contentWindow: Window read;

 

Window contentWindow { get; }

 

var contentWindow: Window { get{} }

 

Window contentWindow { __get; }

 

ReadOnly Property contentWindow() As Window

data

 

property data: dynamic read write;

 

dynamic data { get; set; }

 

var data: dynamic { get{} set{} }

 

dynamic data { __get; __set; }

 

Property data() As dynamic

form

 

property form: HTMLFormElement read;

 

HTMLFormElement form { get; }

 

var form: HTMLFormElement { get{} }

 

HTMLFormElement form { __get; }

 

ReadOnly Property form() As HTMLFormElement

height

 

property height: Int32 read write;

 

Int32 height { get; set; }

 

var height: Int32 { get{} set{} }

 

Int32 height { __get; __set; }

 

Property height() As Int32

name

 

property name: String read write;

 

String name { get; set; }

 

var name: String { get{} set{} }

 

String name { __get; __set; }

 

Property name() As String

setCustomValidity

Sets a custom validity message for the element. If this message is not the empty string, then the element is suffering from a custom validity error, and does not validate.

 

method setCustomValidity(parerror: dynamic): HTMLElement

 

HTMLElement setCustomValidity(dynamic parerror)

 

func setCustomValidity(_ parerror: dynamic) -> HTMLElement

 

HTMLElement setCustomValidity(dynamic parerror)

 

Function setCustomValidity(parerror As dynamic) As HTMLElement

Parameters:

  • parerror:

tabindex

 

property tabindex: Int32 read write;

 

Int32 tabindex { get; set; }

 

var tabindex: Int32 { get{} set{} }

 

Int32 tabindex { __get; __set; }

 

Property tabindex() As Int32

type

 

property type: dynamic read write;

 

dynamic type { get; set; }

 

var type: dynamic { get{} set{} }

 

dynamic type { __get; __set; }

 

Property type() As dynamic

typeMustMatch

 

property typeMustMatch: Boolean read write;

 

Boolean typeMustMatch { get; set; }

 

var typeMustMatch: Boolean { get{} set{} }

 

Boolean typeMustMatch { __get; __set; }

 

Property typeMustMatch() As Boolean

useMap

 

property useMap: String read write;

 

String useMap { get; set; }

 

var useMap: String { get{} set{} }

 

String useMap { __get; __set; }

 

Property useMap() As String

validationMessage

 

property validationMessage: String read;

 

String validationMessage { get; }

 

var validationMessage: String { get{} }

 

String validationMessage { __get; }

 

ReadOnly Property validationMessage() As String

validity

 

property validity: ValidityState read;

 

ValidityState validity { get; }

 

var validity: ValidityState { get{} }

 

ValidityState validity { __get; }

 

ReadOnly Property validity() As ValidityState

width

 

property width: Int32 read write;

 

Int32 width { get; set; }

 

var width: Int32 { get{} set{} }

 

Int32 width { __get; __set; }

 

Property width() As Int32

willValidate

 

property willValidate: HTMLElement read;

 

HTMLElement willValidate { get; }

 

var willValidate: HTMLElement { get{} }

 

HTMLElement willValidate { __get; }

 

ReadOnly Property willValidate() As HTMLElement

 

contentDocument

 

property contentDocument: dynamic read;

 

dynamic contentDocument { get; }

 

var contentDocument: dynamic { get{} }

 

dynamic contentDocument { __get; }

 

ReadOnly Property contentDocument() As dynamic

contentWindow

 

property contentWindow: Window read;

 

Window contentWindow { get; }

 

var contentWindow: Window { get{} }

 

Window contentWindow { __get; }

 

ReadOnly Property contentWindow() As Window

data

 

property data: dynamic read write;

 

dynamic data { get; set; }

 

var data: dynamic { get{} set{} }

 

dynamic data { __get; __set; }

 

Property data() As dynamic

form

 

property form: HTMLFormElement read;

 

HTMLFormElement form { get; }

 

var form: HTMLFormElement { get{} }

 

HTMLFormElement form { __get; }

 

ReadOnly Property form() As HTMLFormElement

height

 

property height: Int32 read write;

 

Int32 height { get; set; }

 

var height: Int32 { get{} set{} }

 

Int32 height { __get; __set; }

 

Property height() As Int32

name

 

property name: String read write;

 

String name { get; set; }

 

var name: String { get{} set{} }

 

String name { __get; __set; }

 

Property name() As String

tabindex

 

property tabindex: Int32 read write;

 

Int32 tabindex { get; set; }

 

var tabindex: Int32 { get{} set{} }

 

Int32 tabindex { __get; __set; }

 

Property tabindex() As Int32

type

 

property type: dynamic read write;

 

dynamic type { get; set; }

 

var type: dynamic { get{} set{} }

 

dynamic type { __get; __set; }

 

Property type() As dynamic

typeMustMatch

 

property typeMustMatch: Boolean read write;

 

Boolean typeMustMatch { get; set; }

 

var typeMustMatch: Boolean { get{} set{} }

 

Boolean typeMustMatch { __get; __set; }

 

Property typeMustMatch() As Boolean

useMap

 

property useMap: String read write;

 

String useMap { get; set; }

 

var useMap: String { get{} set{} }

 

String useMap { __get; __set; }

 

Property useMap() As String

validationMessage

 

property validationMessage: String read;

 

String validationMessage { get; }

 

var validationMessage: String { get{} }

 

String validationMessage { __get; }

 

ReadOnly Property validationMessage() As String

validity

 

property validity: ValidityState read;

 

ValidityState validity { get; }

 

var validity: ValidityState { get{} }

 

ValidityState validity { __get; }

 

ReadOnly Property validity() As ValidityState

width

 

property width: Int32 read write;

 

Int32 width { get; set; }

 

var width: Int32 { get{} set{} }

 

Int32 width { __get; __set; }

 

Property width() As Int32

willValidate

 

property willValidate: HTMLElement read;

 

HTMLElement willValidate { get; }

 

var willValidate: HTMLElement { get{} }

 

HTMLElement willValidate { __get; }

 

ReadOnly Property willValidate() As HTMLElement

 

checkValidity

Retuns a Boolean that always is true, because object objects are never candidates for constraint validation.

 

method checkValidity: Boolean

 

Boolean checkValidity()

 

func checkValidity() -> Boolean

 

Boolean checkValidity()

 

Function checkValidity() As Boolean

setCustomValidity

Sets a custom validity message for the element. If this message is not the empty string, then the element is suffering from a custom validity error, and does not validate.

 

method setCustomValidity(parerror: dynamic): HTMLElement

 

HTMLElement setCustomValidity(dynamic parerror)

 

func setCustomValidity(_ parerror: dynamic) -> HTMLElement

 

HTMLElement setCustomValidity(dynamic parerror)

 

Function setCustomValidity(parerror As dynamic) As HTMLElement

Parameters:

  • parerror: