Pass value to custom validation function.

Validation function was not being passed value. I think you meant to do that.

PS: You guys will need a testing suite before you get in too deep. But I like you a lot more than angular.
Update core-input.html

Knowing when an input is invalid via input-invalid event is not very useful unless an input-valid event is fired when the input is valid again
Update core-input.html

Added documentation for new event input-valid
Merge pull request #7 from RamCohen/patch-1

Update core-input.html
Merge pull request #4 from atotic/patch-1

Pass value to custom validation function.
Set aria-label to placeholder or label value

Now paper-input and core-input will both announce correctly.

Fixes Polymer/paper-input#14
add readonly/required attributes