Interface

HTMLObjectElement

HTMLObjectElement

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 element, representing external resources.

View Source js/lib.dom.d.ts, line 3263

Members

string

# align

Deprecated:
  • Yes

View Source js/lib.dom.d.ts, line 3266

string

# archive

Sets or retrieves a character string that can be used to implement your own archive functionality for the object.

View Source js/lib.dom.d.ts, line 3270

string

# border

Deprecated:
  • Yes

View Source js/lib.dom.d.ts, line 3275

boolean

# checkValidity

Returns whether a form will validate when it is submitted, without having to submit it.

View Source js/lib.dom.d.ts, line 3366

string

# code

Sets or retrieves the URL of the file containing the compiled Java class.

View Source js/lib.dom.d.ts, line 3279

string

# codeBase

Sets or retrieves the URL of the component.

View Source js/lib.dom.d.ts, line 3284

string

# codeType

Sets or retrieves the Internet media type for the code associated with the object.

View Source js/lib.dom.d.ts, line 3289

Document | null

# contentDocument

Retrieves the document object of the page or frame.

View Source js/lib.dom.d.ts, line 3294

string

# data

Sets or retrieves the URL that references the data of the object.

View Source js/lib.dom.d.ts, line 3299

boolean

# declare

Deprecated:
  • Yes

View Source js/lib.dom.d.ts, line 3304

HTMLFormElement | null

# form

Retrieves a reference to the form that the object is embedded in.

View Source js/lib.dom.d.ts, line 3308

string

# height

Sets or retrieves the height of the object.

View Source js/lib.dom.d.ts, line 3313

number

# hspace

Deprecated:
  • Yes

View Source js/lib.dom.d.ts, line 3318

string

# name

Sets or retrieves the name of the object.

View Source js/lib.dom.d.ts, line 3322

void

# setCustomValidity

Sets a custom error message that is displayed when a form is submitted.

View Source js/lib.dom.d.ts, line 3371

string

# standby

Sets or retrieves a message to be displayed while an object is loading.

View Source js/lib.dom.d.ts, line 3327

string

# type

Sets or retrieves the MIME type of the object.

View Source js/lib.dom.d.ts, line 3332

string

# useMap

Sets or retrieves the URL, often with a bookmark extension (#name), to use as a client-side image map.

View Source js/lib.dom.d.ts, line 3337

string

# validationMessage

Returns the error message that would be displayed if the user submits the form, or an empty string if no error message. It also triggers the standard error message, such as "this is a required field". The result is that the user sees validation messages without actually submitting.

View Source js/lib.dom.d.ts, line 3342

ValidityState

# validity

Returns a ValidityState object that represents the validity states of an element.

View Source js/lib.dom.d.ts, line 3347

number

# vspace

Deprecated:
  • Yes

View Source js/lib.dom.d.ts, line 3352

string

# width

Sets or retrieves the width of the object.

View Source js/lib.dom.d.ts, line 3356

boolean

# willValidate

Returns whether an element will successfully validate based on forms validation rules and constraints.

View Source js/lib.dom.d.ts, line 3361