Event |
Element(s) | Description | Data |
tap | * | Fired when element is tapped or clicked | |
change | input, select | Fired when element value changes and is committed | event.min event.max event.value event.valueAsNumber |
input-debounced | input, select | Same as change event | |
slideChange | amp-carousel [type="slides"] | Fired on manual change of current carousel slide | event.index |
select | amp-selector | Fired on manual selection of option | event.targetOption |
submit | form | Fired on form submission | event.response |
submit-success | form | Fired on success response of form submission | event.response |
submit-error | form | Fired on error response of form submission | |
valid |
form |
Fired when form is valid | |
invalid | form | Fired when form is invalid |
Germany
Slovakia
Canada
Brazil
Singapore
Hungary
Philippines
Mexico
Thailand
Ukraine
Luxembourg
Estonia
Lithuania
Norway
Chile
United States
Great Britain
India
Spain
South Korea
Ecuador
Colombia
Taiwan
Switzerland
Indonesia
Cyprus
Denmark
Finland
Poland
Malta
Czechia
New Zealand
Austria
Turkey
France
Sweden
Italy
Egypt
Belgium
Portugal
Slovenia
Ireland
Romania
Greece
Argentina
Malaysia
South Africa
Netherlands
Bulgaria
Latvia
Australia
Japan
Russia