WebIDLpedia

HTMLModelElement interface

Definition

The <model> element defines HTMLModelElement

[Exposed=Window, SecureContext]
interface HTMLModelElement : HTMLElement {
  [CEReactions, Reflect] attribute unsigned long width;
  [CEReactions, Reflect] attribute unsigned long height;
  [CEReactions, ReflectURL] attribute USVString src;
  [CEReactions, Reflect] attribute boolean autoplay;
  [CEReactions, Reflect] attribute boolean loop;
  [CEReactions] attribute DOMString? crossOrigin;
  [CEReactions, ReflectURL] attribute USVString poster;

  readonly attribute Promise<HTMLModelElement> ready;
  readonly attribute DOMPointReadOnly boundingBoxCenter;
  readonly attribute DOMPointReadOnly boundingBoxExtents;

  attribute DOMMatrixReadOnly entityTransform;

  attribute USVString environmentMap;
  readonly attribute Promise<undefined> environmentMapReady;

  [Reflect=stagemode] attribute DOMString stageMode;
};

Methods and attributes that return objects implementing HTMLModelElement

Referring IDL interfaces/dictionaries