Skip to content

Latest commit

 

History

History
executable file
·
33 lines (22 loc) · 942 Bytes

README.md

File metadata and controls

executable file
·
33 lines (22 loc) · 942 Bytes

plastik-url-validator

plastik-url-validator checks whether or not any input is a valid URL.

This functionality is provided by the validator.js library, a dependency of this element.

Demos and documentation are available on the component page.

Pull requests are always welcome. If you encounter any bugs, please feel free to submit an issue.

Installation

bower install plastik-url-validator --save

Basic usage

See component page for more details.

Example

<input is="iron-input" bind-value="{{value}}" validator="plastik-url-validator">

<plastik-url-validator protocol-optional allow-protocol-relative-urls>
</plastik-url-validator>