To make it clear by what I mean by "some checked" I've implemented it. In this sample, if you check some of the checkboxes, all checkbox will show "some selected" status:
http://jsbin.com/cogowopu/2/edit On Sunday, March 2, 2014 3:25:52 PM UTC-8, Mohsen Azimi wrote: > > Hi, > > I just started using Polymer. It's great and easy to pick up. My first > element is a grouped checkbox. Like ones that exist in native platforms. > There is a "select all" checkbox that select all options. > > Here is my element: > http://jsbin.com/cogowopu/1/edit > > I have three questions: > > 1. Is it recommended to use native HTML elements in our elements? If so, > how we can make a modified version of them? In this case, I need a checkbox > that supports "some checked" statue. (usually a solid square inside of it). > I want to use the CSS that defines checkbox appearance so I can make my > modified version looks like native ones in each platform. Where can I get > that CSS? > > 2. Why event.target is replaced with event.srcElement? What is > event.target now? > > 3. How can I avoid using "that"? > Follow Polymer on Google+: plus.google.com/107187849809354688692 --- You received this message because you are subscribed to the Google Groups "Polymer" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/polymer-dev/a07ad24f-36d9-46a4-aa17-a44e45833ac8%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
