mirror of
https://github.com/gnh1201/welsonjs.git
synced 2025-05-17 15:11:04 +00:00
19 lines
642 B
JavaScript
19 lines
642 B
JavaScript
/*!
|
|
{
|
|
"name": "form#requestAutocomplete()",
|
|
"property": "requestautocomplete",
|
|
"tags": ["form", "forms", "requestAutocomplete", "payments"],
|
|
"notes": [{
|
|
"name": "WHATWG Spec",
|
|
"href": "https://wiki.whatwg.org/wiki/RequestAutocomplete"
|
|
}]
|
|
}
|
|
!*/
|
|
/* DOC
|
|
When used with input[autocomplete] to annotate a form, form.requestAutocomplete() shows a dialog in Chrome that speeds up
|
|
checkout flows (payments specific for now).
|
|
*/
|
|
define(['Modernizr', 'createElement', 'prefixed'], function(Modernizr, createElement, prefixed) {
|
|
Modernizr.addTest('requestautocomplete', !!prefixed('requestAutocomplete', createElement('form')));
|
|
});
|