Dart API Referencedart:htmlObjectElement

ObjectElement Interface

DOM Object objects expose the HTMLObjectElement (or HTML 4 HTMLObjectElement) interface, which provides special properties and methods (beyond the regular element object interface they also have available to them by inheritance) for manipulating the layout and presentation of Object element, representing external resources.

Extends

Element

Constructors

Code new ObjectElement() #

ObjectElement();

Methods

Code bool checkValidity() #

Always returns true, because object objects are never candidates for constraint validation.
bool checkValidity();

Code void setCustomValidity(String error) #

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.
void setCustomValidity(String error);

Fields

Code String align #

Alignment of the object relative to its context. Obsolete in HTML5.
String align;

Code String archive #

Reflects the archive  HTML attribute, containing a list of archives for resources for this object. Obsolete in HTML5.
String archive;

Code String border #

Reflects the border  HTML attribute, specifying the width of a border around the object. Obsolete in HTML5.
String border;

Code String code #

The name of an applet class file, containing either the applet's subclass, or the path to get to the class, including the class file itself. Obsolete in HTML5.
String code;

Code String codeBase #

Reflects the codebase  HTML attribute, specifying the base path to use to resolve relative URIs. Obsolete in HTML5.
String codeBase;

Code String codeType #

Reflects the codetype  HTML attribute, specifying the content type of the data. Obsolete in HTML5.
String codeType;

Code final Document contentDocument #

The active document of the object element's nested browsing context, if any; otherwise null.
final Document contentDocument;

Code String data #

Reflects the data HTML attribute, specifying the address of a resource's data.
String data;

Code bool declare #

Reflects the declare HTML attribute, indicating that this is a declaration, not an instantiation, of the object. Obsolete in HTML5.
bool declare;

Code final FormElement form #

The object element's form owner, or null if there isn't one.
final FormElement form;

Code String height #

Reflects the {{htmlattrxref("height", "object)}} HTML attribute, specifying the displayed height of the resource in CSS pixels.
String height;

Code int hspace #

Horizontal space in pixels around the control. Obsolete in HTML5.
int hspace;

Code String name #

Reflects the name  HTML attribute, specifying the name of the object ( HTML 4, or of a browsing context ( HTML5.
String name;

Code String standby #

Reflects the standby HTML attribute, specifying a message to display while the object loads. Obsolete in HTML5.
String standby;

Code String type #

Reflects the {{htmlattrxref("type", "object)}} HTML attribute, specifying the MIME type of the resource.
String type;

Code String useMap #

Reflects the {{htmlattrxref("usemap", "object)}} HTML attribute, specifying a {{HTMLElement("map")}} element to use.
String useMap;

Code final String validationMessage #

A localized message that describes the validation constraints that the control does not satisfy (if any). This is the empty string if the control is not a candidate for constraint validation (willValidate is false), or it satisfies its constraints.
final String validationMessage;

Code final ValidityState validity #

The validity states that this element is in.
final ValidityState validity;

Code int vspace #

Horizontal space in pixels around the control. Obsolete in HTML5.
int vspace;

Code String width #

Reflects the width  HTML attribute, specifying the displayed width of the resource in CSS pixels.
String width;

Code final bool willValidate #

Indicates whether the element is a candidate for constraint validation. Always false for object objects.
final bool willValidate;

This page includes content from the Mozilla Foundation that is graciously licensed under a Creative Commons: Attribution-Sharealike license. Mozilla has no other association with Dart or dartlang.org. We encourage you to improve the web by contributing to The Mozilla Developer Network.