Polymer 1.0 - Add custom style properties and a cursor to paper-inputs -
i working polymer , paper-input. i'm novice, first big html project.
i'm trying change few things these inputs, because when focused, give no indication whether they're indeed selected or not.
here's paper-input demo.
1) i'd make label , underline change color when focused
2) i'd blinking cursor
i tried add custom style property inside paper-input.html (the doc here)
<dom-module id="paper-input"> <style> ... :host{ --paper-input-container-focus-color : blue; } </style>
i checked this thread, adding head section of html:
<!-- custom style applied elements --> <style is="custom-style"> paper-input{ /* label , underline color when input focused */ --paper-input-container-focus-color: blue; } </style>
but paper-inputs did not change @ both these solutions. misunderstood...
now don't know how bring blinking cursor field. neither doc, nor internet gave me clue it.
i'd know if have ideas on ! :)
alright, maybe lack of googling ^^'
in fact, both these features implemented. stopped working since 1.0.4 described here. can stick 1.0.3 until fixed.
i hope other people !
Comments
Post a Comment