Opps! I forgot to paste new code. Here it is: http://jsbin.com/cogowopu/5/edit
On Monday, March 3, 2014 10:45:16 AM UTC-8, Mohsen Azimi wrote: > > Thank for you comments. I've updated my element. Now I'm using your advice > to make it better. > > Couple of issues: > > 1. domReady doesn't seem to work. When I put a breakpoint inside a > domReady method it doesn't stop there. > 2. When clicking on "all" checkbox, this.$.group.innerHTML is > "<content></content>". I can't see my checkboxes. > > Could you please review my code again? > > > 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/f1ec3676-8f7d-4054-97d9-7d83c86d5041%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
