blob: 9395cbe0b0887f6b0fee514f14bd280ad27b272a [file] [edit]
// GENERATED CONTENT - DO NOT EDIT
// Content was automatically extracted by Reffy into webref
// (https://github.com/w3c/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