{"bugs":{"url":"https://github.com/PolymerElements/iron-validatable-behavior/issues"},"dist":{"shasum":"f27d565db0beaf852dd0aa2e9bd8096dabd4b12d","tarball":"https://registry.npmjs.org/@polymer/iron-validatable-behavior/-/iron-validatable-behavior-3.0.0-pre.11.tgz","fileCount":16,"integrity":"sha512-mKWzF9akBaXu8sFcx9LuE1gW91bMwU6uUMBMtPcvLpJ73Ezhv7kK9gA99egeyvFCdb8sk9UMb2N0/vvlDkvCyg==","signatures":[{"sig":"MEUCIFtPBd2er3fS0aHxi7qO4xZzaPwLwfjAkJcJbRqW+gi/AiEAo/LQHBjTrppDeXJrQEkkBnccK7A4eISe+UV5Ko/LjYc=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":24453},"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":"b76328629ce900967181840ceee0e4283f66dc13","license":"BSD-3-Clause","scripts":{"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":"5.6.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"},"_nodeVersion":"9.7.1","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.10","@polymer/iron-meta":"^3.0.0-pre.10"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"bower":"^1.8.0","wct-browser-legacy":"0.0.1-pre.11","@polymer/paper-styles":"^3.0.0-pre.10","@polymer/test-fixture":"^3.0.0-pre.10","@polymer/iron-demo-helpers":"^3.0.0-pre.10","@polymer/iron-component-page":"^3.0.0-pre.10","@webcomponents/webcomponentsjs":"^1.0.0","@polymer/iron-validator-behavior":"^3.0.0-pre.10","@polymer/gen-typescript-declarations":"^1.2.0"},"_npmOperationalInternal":{"tmp":"tmp/iron-validatable-behavior_3.0.0-pre.11_1520558241130_0.6907703723416516","host":"s3://npm-registry-packages"},"_id":"@polymer/iron-validatable-behavior@3.0.0-pre.11","version":"3.0.0-pre.11"}