reset
Like on, reset also accepts a single event action as input.
The only job of this feature is to restore the element's default value.
Custom elements (e.g. Web Components) can also be made resettable; all they must do is implement the standard reset method.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 | |