Validation with tooltips based on NVal and Tippy.js
npm install nval-tippy

console
npm install nval-tippy
`
#### CDN
`html
`
Usage
Declare
#### NPM version
###### Import:
`typescript
import { NValTippy } from "nval-tippy";
`
###### Then:
`typescript
// Pass the form element as an argument.
var validator = new NValTippy(document.getElementById("myForm"));
`
---------------
#### CDN version
`javascript
// Pass the form element as an argument.
var validator = new NValTippy.NValTippy(document.getElementById("myForm"));
`
Run
`typescript
validator.isValid(); // Returns boolean.
`
Configuration
Validation
NValTippy object extends NVal. To configure validation use the official documentation for it.
Tooltips
Tooltip options are available by the public property tippyOptions`.