WebIDLpedia

PreferenceObject interface

Definition

Media Queries Level 5 defines PreferenceObject



[Exposed=Window, SecureContext]
interface PreferenceObject : EventTarget {
  readonly attribute DOMString? override;
  readonly attribute DOMString value;
  readonly attribute FrozenArray<DOMString> validValues;

  undefined clearOverride();
  Promise<undefined> requestOverride(DOMString? value);

  attribute EventHandler onchange;
};

Methods and attributes that return objects implementing PreferenceObject

Referring IDL interfaces/dictionaries