{"bugs":{"url":"https://github.com/PolymerElements/iron-validatable-behavior/issues"},"dist":{"shasum":"3b0b0534322e5784aca0ce0ace6f246092900a8f","tarball":"https://registry.npmjs.org/@polymer/iron-validatable-behavior/-/iron-validatable-behavior-3.0.0-pre.17.tgz","fileCount":18,"integrity":"sha512-oW5NqZMstyvt7KnEfk6/mIhvdC7VA0Iv32B/KqoAc2TyqlgaNLDxAu+VAVFCA4VwdK0VKpkH3yOpoj7bpUd8kQ==","signatures":[{"sig":"MEUCIE2iya1/Qsiq21OAqpU44nUa2dcldnar30UJP34TQo/mAiEA42aaPsj17k+nv2izho67dqFYRozDgTkkpu+8kHYoPfc=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":29828,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa8TDiCRA9TVsSAnZWagAA4YMQAIZf70/iwSt5C6o2l4NX\nt+eBjd2qw/O2YaoUXfXVepgI+9uSqd3OjlIonHOXJ6XRN0QQpiOBONZG0UPr\n51QkjvuNDa6QnGwk1pFdRyQqwjb4jVsP1FVgH2AHit/mFGsGoYdN6cfa0FNF\nNAdmNss5jr/ZQxKMmmyJYwYwDM5bbGEvlsiPIN5bO+0rgYtNb69d+np0dfdn\nY17ewo+slKOlV9hGDRO/RChvlyWCd4ByL5RQvpDMFbKXCCgBzMR+1y21kbOd\ndWSaWLTW7znSAMP8ayF6YfEnWcpsHc6uq2syE2EnfizBP5kuQr058GN/vnhb\neNKbVA0h7mSjCeKJ7HLC4fnPenLIEyck74trslmjc7Z+Y7Dy0zpWuFaT3ig4\nirLby82WvXJH9dP28KW5gVbgkp6xmcikBo6h96wQWobKwjSpfNOdahm/MKvO\nWe98CPNzxnk77dBlzgrD4sdR/62OU/mAHnJ7eyOrcgzWqGwQEbSzIBbNSQZC\nMYNiF8JGpxNjd8Mur4lfr3/kVB200wrjCV4OTOGz052Ofnxwrmq9mgvE0c1s\nYy5XS42UfKSW/LKjx8/ITNjcHcO9BmuOaI8dRpH6DQnvCHoHXixQlLedWJ2h\nWRoKo4tXe9TckzSiOaDo3xZzDtXre9gfe3ip564ob6p4cTGPWv0kV6EoLpCL\n/wdH\r\n=ebaJ\r\n-----END PGP SIGNATURE-----\r\n"},"main":"iron-validatable-behavior.js","name":"@polymer/iron-validatable-behavior","readme":"\n<!---\n\nThis README is automatically generated from the comments in these files:\niron-validatable-behavior.html\n\nEdit those files, and our readme bot will duplicate them over here!\nEdit this file, and the bot will squash your changes :)\n\nThe bot does some handling of markdown. Please file a bug if it does the wrong\nthing! https://github.com/PolymerLabs/tedium/issues\n\n-->\n\n[![Build status](https://travis-ci.org/PolymerElements/iron-validatable-behavior.svg?branch=master)](https://travis-ci.org/PolymerElements/iron-validatable-behavior)\n\n_[Demo and API docs](https://elements.polymer-project.org/elements/iron-validatable-behavior)_\n\n\n## Polymer.IronValidatableBehavior\n\n`Use Polymer.IronValidatableBehavior` to implement an element that validates user input.\nUse the related `Polymer.IronValidatorBehavior` to add custom validation logic to an iron-input.\n\nBy default, an `<iron-form>` element validates its fields when the user presses the submit button.\nTo validate a form imperatively, call the form's `validate()` method, which in turn will\ncall `validate()` on all its children. By using `Polymer.IronValidatableBehavior`, your\ncustom element will get a public `validate()`, which\nwill return the validity of the element, and a corresponding `invalid` attribute,\nwhich can be used for styling.\n\nTo implement the custom validation logic of your element, you must override\nthe protected `_getValidity()` method of this behaviour, rather than `validate()`.\nSee [this](https://github.com/PolymerElements/iron-form/blob/master/demo/simple-element.html)\nfor an example.\n\n### Changes in 2.0\n- `validate()` no longer requires a `value` parameter to be passed, and will use the element's `value` property if it exists\n- `validatorType` and `validatorName` were unused and have been removed\n\n### Accessibility\n\nChanging the `invalid` property, either manually or by calling `validate()` will update the\n`aria-invalid` attribute.\n\n\n","gitHead":"fd345edf90ad88ecc074ae1e7665e61c6fba5b2b","license":"BSD-3-Clause","scripts":{"format":"webmat && npm run update-types","update-types":"bower install && gen-typescript-declarations --deleteExisting --outDir ."},"_npmUser":{"name":"polymer","email":"admin@polymer-project.org"},"homepage":"https://github.com/PolymerElements/iron-validatable-behavior","keywords":["web-components","polymer","iron","behavior"],"repository":{"url":"git://github.com/PolymerElements/iron-validatable-behavior.git","type":"git"},"_npmVersion":"6.0.0","description":"Provides a behavior for an element that validates user input","directories":{},"maintainers":[{"name":"polymer","email":"admin@polymer-project.org"}],"resolutions":{"samsam":"1.1.3","inherits":"2.0.3","type-detect":"1.0.0","supports-color":"3.1.2","@webcomponents/webcomponentsjs":"2.0.0-beta.2"},"_nodeVersion":"9.8.0","contributors":[{"name":"T"},{"name":"h"},{"name":"e"},{},{"name":"P"},{"name":"o"},{"name":"l"},{"name":"y"},{"name":"m"},{"name":"e"},{"name":"r"},{},{"name":"A"},{"name":"u"},{"name":"t"},{"name":"h"},{"name":"o"},{"name":"r"},{"name":"s"}],"dependencies":{"@polymer/polymer":"^3.0.0-pre.13","@polymer/iron-meta":"^3.0.0-pre.17"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"bower":"^1.8.0","webmat":"^0.2.0","wct-browser-legacy":"^0.0.1-pre.11","@polymer/paper-styles":"^3.0.0-pre.17","@polymer/test-fixture":"^3.0.0-pre.17","@polymer/iron-demo-helpers":"^3.0.0-pre.17","@polymer/iron-component-page":"^3.0.0-pre.17","@webcomponents/webcomponentsjs":"^2.0.0-beta.2","@polymer/iron-validator-behavior":"^3.0.0-pre.17","@polymer/gen-typescript-declarations":"^1.2.0"},"_npmOperationalInternal":{"tmp":"tmp/iron-validatable-behavior_3.0.0-pre.17_1525756130673_0.09696350954356592","host":"s3://npm-registry-packages"},"_id":"@polymer/iron-validatable-behavior@3.0.0-pre.17","version":"3.0.0-pre.17"}