File tree Expand file tree Collapse file tree 1 file changed +7
-6
lines changed
Expand file tree Collapse file tree 1 file changed +7
-6
lines changed Original file line number Diff line number Diff line change 44[ ![ GitHub issues] ( https://img.shields.io/github/issues/scriptex/html5-form-validator.svg )] ( https://github.com/scriptex/html5-form-validator/issues )
55[ ![ GitHub last commit] ( https://img.shields.io/github/last-commit/scriptex/html5-form-validator.svg )] ( https://github.com/scriptex/html5-form-validator/commits/master )
66[ ![ Github file size] ( https://img.shields.io/github/size/scriptex/html5-form-validator/dist/index.min.js.svg )] ( https://github.com/scriptex/html5-form-validator )
7+ [ ![ Build Status] ( https://travis-ci.org/scriptex/html5-form-validator.svg?branch=master )] ( https://travis-ci.org/scriptex/html5-form-validator )
78[ ![ npm] ( https://img.shields.io/npm/dt/html5-form-validator.svg )] ( https://www.npmjs.com/package/html5-form-validator )
89[ ![ npm] ( https://img.shields.io/npm/v/html5-form-validator.svg )] ( https://www.npmjs.com/package/html5-form-validator )
910[ ![ license] ( https://img.shields.io/github/license/scriptex/html5-form-validator.svg )] ( https://github.com/scriptex/html5-form-validator )
@@ -52,12 +53,12 @@ or supply your own
5253const form = document .querySelector (' #form' );
5354
5455new html5formValidation (form, {
55- errorElement: ' form__error' ,
56- invalidClass: ' is--invalid' ,
57- submitHandler (instance ) {
58- console .log (instance)
59- },
60- validateOnInput: false
56+ errorElement: ' form__error' ,
57+ invalidClass: ' is--invalid' ,
58+ submitHandler (instance ) {
59+ console .log (instance);
60+ },
61+ validateOnInput: false
6162});
6263```
6364
You can’t perform that action at this time.
0 commit comments