WebIDLpedia

ToggleEvent interface

Definition

HTML Standard defines ToggleEvent



[Exposed=Window]
interface ToggleEvent : Event {
  constructor(DOMString type, optional ToggleEventInit eventInitDict = {});
  readonly attribute DOMString oldState;
  readonly attribute DOMString newState;
};

Methods and attributes that return objects implementing ToggleEvent