Skip to content

Plastikit/plastik-url-validator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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>