Hi Carlos,

I have some concerns about MdlColor as an bead: 

<mdl:Chip text="Contact Chip">
                <mdl:beads>
                    <mdl:MdlColor color="teal" />
                    <mdl:ContactChip contactText="A" />
                </mdl:beads>
            </mdl:Chip>

In that case I wanted to that ContactChip bead will take MdlColor and apply
to yourself.
MdlColor is a bead which apply color to his Strand - in that case to Chip,
so if I also use MdlColor and apply to ContactChip I end up with css class
applied to Chip and ContactChip. - Take a look into pushed code. ContactChip
- loadColorBead.

Do you think that removing from Chip manually some classes if MdlColor
exists + ContactChip is a good way ?

Piotr



-----
Apache Flex PMC
piotrzarzyck...@gmail.com
--
View this message in context: 
http://apache-flex-development.2333347.n4.nabble.com/FlexJS-MDL-Color-and-Image-in-ContactChip-bead-tp56972p57280.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.

Reply via email to