RE: [FlexJS, MDL] Add icon to DeletableChip

2016-12-01 Thread piotrz
/FlexJS-MDL-Add-icon-to-DeletableChip-tp56766p56917.html Sent from the Apache Flex Development mailing list archive at Nabble.com.

RE: [FlexJS, MDL] Add icon to DeletableChip

2016-12-01 Thread piotrz
Exactly. Cause in MDL we may want Two icons, so there will be two beads, or it's something which beads not for ? Piotr - Apache Flex PMC piotrzarzyck...@gmail.com -- View this message in context: http://apache-flex-development.247.n4.nabble.com/FlexJS-MDL-Add-icon-to-Deletabl

RE: [FlexJS, MDL] Add icon to DeletableChip

2016-12-01 Thread Yishay Weiss
347.n4.nabble.com/FlexJS-MDL-Add-icon-to-DeletableChip-tp56766p56895.html Sent from the Apache Flex Development mailing list archive at Nabble.com.

RE: [FlexJS, MDL] Add icon to DeletableChip

2016-12-01 Thread piotrz
Yishay, What if we have two exactly same Bead ? I think util doesn't cover this scenario. Piotr - Apache Flex PMC piotrzarzyck...@gmail.com -- View this message in context: http://apache-flex-development.247.n4.nabble.com/FlexJS-MDL-Add-ic

RE: [FlexJS, MDL] Add icon to DeletableChip

2016-12-01 Thread Yishay Weiss
s far as I know. From: Yishay Weiss<mailto:yishayj...@hotmail.com> Sent: Wednesday, November 30, 2016 12:58 PM To: dev@flex.apache.org<mailto:dev@flex.apache.org> Subject: RE: [FlexJS, MDL] Add icon to DeletableChip Yes, I mean loading inside DeletableChip. From: piot

Re: [FlexJS, MDL] Add icon to DeletableChip

2016-11-30 Thread Alex Harui
On 11/30/16, 8:47 AM, "piotrz" wrote: >My idea is that I just don't want to actually implement any specific >things. >It will be just interface with good name which indicates that - If your >View >implement it - You should put there logic which "merging", "conecting" two >Beads in order to cre

Re: [FlexJS, MDL] Add icon to DeletableChip

2016-11-30 Thread piotrz
message in context: http://apache-flex-development.2333347.n4.nabble.com/FlexJS-MDL-Add-icon-to-DeletableChip-tp56766p56830.html Sent from the Apache Flex Development mailing list archive at Nabble.com.

Re: [FlexJS, MDL] Add icon to DeletableChip

2016-11-30 Thread Alex Harui
On 11/30/16, 8:24 AM, "piotrz" wrote: >Alex, > >By "Merge Bead" I mean scenario where one bead needs the second one, so >I'm >taking both in order to produce some HTML content. Could it make sense >also >for non MDL components ? I haven't looked at this Chip component very closely. I can't te

Re: [FlexJS, MDL] Add icon to DeletableChip

2016-11-30 Thread piotrz
p://apache-flex-development.247.n4.nabble.com/FlexJS-MDL-Add-icon-to-DeletableChip-tp56766p56827.html Sent from the Apache Flex Development mailing list archive at Nabble.com.

Re: [FlexJS, MDL] Add icon to DeletableChip

2016-11-30 Thread Alex Harui
On 11/30/16, 1:58 AM, "piotrz" wrote: >Alex, > >To my mind came up following idea. I could introduce interface >IMergeBeads. >View will implement this interface and logic inside will take over how >actually beads will be merged. > >Is it make sense ? Seems worth trying. I would suggest interf

RE: [FlexJS, MDL] Add icon to DeletableChip

2016-11-30 Thread Yishay Weiss
Yes, I mean loading inside DeletableChip. From: piotrz<mailto:piotrzarzyck...@gmail.com> Sent: Wednesday, November 30, 2016 12:06 PM To: dev@flex.apache.org<mailto:dev@flex.apache.org> Subject: Re: [FlexJS, MDL] Add icon to DeletableChip Hi Yishay, How would I use such util in

Re: [FlexJS, MDL] Add icon to DeletableChip

2016-11-30 Thread piotrz
: http://apache-flex-development.247.n4.nabble.com/FlexJS-MDL-Add-icon-to-DeletableChip-tp56766p56817.html Sent from the Apache Flex Development mailing list archive at Nabble.com.

Re: [FlexJS, MDL] Add icon to DeletableChip

2016-11-30 Thread piotrz
message in context: http://apache-flex-development.247.n4.nabble.com/FlexJS-MDL-Add-icon-to-DeletableChip-tp56766p56816.html Sent from the Apache Flex Development mailing list archive at Nabble.com.

Re: [FlexJS, MDL] Add icon to DeletableChip

2016-11-29 Thread yishayw
or bead > } loadBead() should also add it to the strand after loading. -- View this message in context: http://apache-flex-development.247.n4.nabble.com/FlexJS-MDL-Add-icon-to-DeletableChip-tp56766p56809.html Sent from the Apache Flex Development mailing list archive at Nabble.com.

Re: [FlexJS, MDL] Add icon to DeletableChip

2016-11-29 Thread yishayw
ity method that does this: Util.loadBead(classOrInterface:Class, strand:IStrand):IBead{ // search for an existing bead // load it from css if it doesn't exist // return null or bead } -- View this message in context: http://apache-flex-development.2333347.n4.nab

Re: [FlexJS, MDL] Add icon to DeletableChip

2016-11-29 Thread Alex Harui
Not sure I have an opinion about how the beads should work together. I'm just saying that it can be more convenient to have the beads on the same strand instead of beads with beads. I don't think we have standards on the way the beads work together. You will probably find it is easier to require

Re: [FlexJS, MDL] Add icon to DeletableChip

2016-11-29 Thread piotrz
context: http://apache-flex-development.247.n4.nabble.com/FlexJS-MDL-Add-icon-to-DeletableChip-tp56766p56797.html Sent from the Apache Flex Development mailing list archive at Nabble.com.

Re: [FlexJS, MDL] Add icon to DeletableChip

2016-11-29 Thread piotrz
e / - Icon ? Piotr - Apache Flex PMC piotrzarzyck...@gmail.com -- View this message in context: http://apache-flex-development.247.n4.nabble.com/FlexJS-MDL-Add-icon-to-DeletableChip-tp56766p56796.html Sent from the Apache Flex Development mailing list archive at Nabble.com.

Re: [FlexJS, MDL] Add icon to DeletableChip

2016-11-29 Thread Alex Harui
A IBead can also be an Istrand. You just have to add the code to allow it. However, it is also reasonable for the MaterialIcon bead to be on the same strand as the DeletableChip bead. The MaterialIcon bead just has to find the other bead. It could presume it is the View bead, or it could call g

Re: [FlexJS, MDL] Add icon to DeletableChip

2016-11-29 Thread Carlos Rovira
zyck...@gmail.com > -- > View this message in context: http://apache-flex- > development.247.n4.nabble.com/FlexJS-MDL-Add-icon-to- > DeletableChip-tp56766p56792.html > Sent from the Apache Flex Development mailing list archive at Nabble.com. > -- Carlos Rovira Director G

Re: [FlexJS, MDL] Add icon to DeletableChip

2016-11-29 Thread piotrz
Apache Flex PMC piotrzarzyck...@gmail.com -- View this message in context: http://apache-flex-development.2333347.n4.nabble.com/FlexJS-MDL-Add-icon-to-DeletableChip-tp56766p56792.html Sent from the Apache Flex Development mailing list archive at Nabble.com.

Re: [FlexJS, MDL] Add icon to DeletableChip

2016-11-29 Thread Carlos Rovira
tp://apache-flex- > development.247.n4.nabble.com/FlexJS-MDL-Add-icon-to- > DeletableChip-tp56766p56779.html > Sent from the Apache Flex Development mailing list archive at Nabble.com. > -- Carlos Rovira Director General M: +34 607 22 60 05 http://www.codeoscopic.com http://www.av

Re: [FlexJS, MDL] Add icon to DeletableChip

2016-11-29 Thread piotrz
ext: http://apache-flex-development.247.n4.nabble.com/FlexJS-MDL-Add-icon-to-DeletableChip-tp56766p56779.html Sent from the Apache Flex Development mailing list archive at Nabble.com.

Re: [FlexJS, MDL] Add icon to DeletableChip

2016-11-29 Thread Carlos Rovira
; with > choosen icon by some property in this bead? > > Am I understand you correctly? > > Piotr > > > > - > Apache Flex PMC > piotrzarzyck...@gmail.com > -- > View this message in context: http://apache-flex- > development.247.n4.nabble.com/FlexJS-MDL

Re: [FlexJS, MDL] Add icon to DeletableChip

2016-11-29 Thread piotrz
velopment.2333347.n4.nabble.com/FlexJS-MDL-Add-icon-to-DeletableChip-tp56766p56775.html Sent from the Apache Flex Development mailing list archive at Nabble.com.

Re: [FlexJS, MDL] Add icon to DeletableChip

2016-11-29 Thread Carlos Rovira
For example in buttons you can see: face I think this should be refactored since Button is the only component allowing direct inner html Maybe we could make a "MaterialIcons" class that generates this tag. If we follow our plan of making it all "compiler-safe" we cou

Re: [FlexJS, MDL] Add icon to DeletableChip

2016-11-28 Thread Alex Harui
On 11/28/16, 10:07 PM, "piotrz" wrote: >Hi Om, Carlos, > >I created yesterday bead DeletableChip. In DeletableChip there is a place >for icon on the right sigh of the Chip. [1] I'm wondering how actually it >should be implemented. > >Should I add to DeletableChip property for example image="can

Re: [FlexJS, MDL] Add icon to DeletableChip

2016-11-28 Thread piotrz
Example has been eaten by list: -> https://paste.apache.org/sasN - Apache Flex PMC piotrzarzyck...@gmail.com -- View this message in context: http://apache-flex-development.247.n4.nabble.com/FlexJS-MDL-Add-icon-to-DeletableChip-tp56766p56767.html Sent from the Apache Flex Developm

[FlexJS, MDL] Add icon to DeletableChip

2016-11-28 Thread piotrz
//apache-flex-development.2333347.n4.nabble.com/FlexJS-MDL-Add-icon-to-DeletableChip-tp56766.html Sent from the Apache Flex Development mailing list archive at Nabble.com.