Source code

Revision control

Copy as Markdown

Other Tools

// GENERATED CONTENT - DO NOT EDIT
// Content was automatically extracted by Reffy into webref
// Source: Autofill Event (https://wicg.github.io/autofill-event/)
[Exposed=Window]
interface AutofillEvent : Event {
constructor(DOMString type, optional AutofillEventInit eventInitDict = {});
readonly attribute FrozenArray<AutofillValueEntry> autofillValues;
readonly attribute RefillCallback? refill;
};
callback RefillCallback = Promise<undefined> ();
dictionary AutofillEventInit : EventInit {
sequence<AutofillValueEntry> autofillValues = [];
boolean allowRefill = true;
};
typedef sequence<any> AutofillValueEntry;
// AutofillValueEntry is a tuple of [HTMLElement, DOMString]
// where the first element is the form control and the second is the value to fill