Hello, I've added some input text to my prototype (username field) and I'm wanting to change the placeholder text colour... How do I do it?
Do a search for -webkit-placeholder and you'll find it. I can't remember the exact name of the property but it's a WebKit specific one.
You are everywhere Jordan ;)
I've been doing this for a long long time. :P You tend to remember a thing or too. I was very webkit focused for quite a few years as well. :D
You know you can write it like this too right?
^ Yes that is so much better. :D
::-webkit-input-placeholder is what you want.
Hi Koen Bok - my coding knowledge is very limited so the example I was copying was written that way. Pretty sure it's in Framer's example pages, thanks for enlightening me!
Koen - check out the doc: http://share.framerjs.com/jypu0a4i3lqv/ - the method of styling doesn't seem to be working, can you shed any light? The way shown in the post image is greyed out underneath...
I used Adria Jimenez's input module because it is much easier to setup and control. This is from his Udemy classhttps://github.com/ajimix/Input-Framer
The one thing I would like to know is how to get the onblur event which I couldn't seem to find. Trying the same method as the "keyup" mentioned in the Udemy class didn't work either. Anybody got ideas? Is is the same if I'm using the opensource Framer?
Hi guys, I figured it out... You just have to address the layer.input like the following:
layer.input.addEventListener "blur", -> # whatever here