-
Notifications
You must be signed in to change notification settings - Fork 7
Chips Component #22
Comments
Hi @ok-at-github, Good idea! The list or datagroup is the way to go, but the layout I don't advise the tile because all collumnwidth would be the same, I would use some kind of flowlayout. Extending the datagroup would be easier because the chips don't have selectedItem/drag&drop etc. You also have 2 options to implement the "NewChip", by overriding the datagroup and change the methods that handle itemrenderers, or by itemrendererFunction and manage the dataprovider to make sure that there is only one "newchip" item and is at last position of array. Now I'm more motivated to finish the redesign ^^ |
Hi all I made something similar in a project for tags management. Like you said i El mié., 2 de dic. de 2015 a la(s) 04:55, Rui Cruz [email protected]
|
Hi @JCOTV , I can't see the images, but sure! share that code :) can you create a gist? |
I'll do it [image: tagComp1.png] [image: tagComp2.png] El mié., 2 de dic. de 2015 a la(s) 08:53, Rui Cruz [email protected]
|
Ok, i think I manage to do it, its my firts, hope it can help you in some https://gist.github.com/JCOTV/041b8ab99119d3b18d03 El mié., 2 de dic. de 2015 a la(s) 08:56, José Carlos Onofre Huerta <
|
Thank you @JCOTV Congrats on your first gist! ^^ |
Thank you @JCOTV for sharing your approach, I'll check it out! |
I've just create a new branch "Chips" that includes the first draft. |
Yeah.. I've solved that on some other project. I'll merge that change on Em 03/12/2015 21:36, "ok-at-github" [email protected] escreveu:
|
Great! I've just stumbled over the AS3Commons lib. I'm looking forward to see Spark-Material growing ;-) |
I'd like to implement the Chips component:
https://www.google.com/design/spec/components/chips.html#
https://material.angularjs.org/latest/demo/chips
I would try to use a List with TileLayout that uses a "Chip" ItemRenderer to display a created Chip.
If it's possible the last item always should use another "NewChip" ItemRenderer for creating new chips.
To avoid wasting time with this approach, I'd ask if this is a proper way.
Thanks,
Olaf
The text was updated successfully, but these errors were encountered: