On Sun, Jan 22, 2017 at 10:17 AM, Carlos Rovira <carlosrov...@apache.org> wrote:
> Hi, > > while doing thing to close MDL implementation I saw that Material Design > Icons library is about 900 icons (60Mb). You can see all here: > > https://material.io/icons/ > > We was pushing a class for every icon (i.e: MaterialIconAdd, > MaterialIconCancel) > > Maybe doing 900 classes could be so cumbersome, so what about have only a > class MaterialIcon > > so doing : > > <mdl:MaterialIcon text="add"/> > > I prefer this. This is how I implemented FontAwesome icons. Usage example: https://github.com/apache/flex-asjs/blob/daffc02861a14489239e81483b95f8508f3a2136/examples/flexjs/FlexTeamPage_MDL/src/main/flex/itemRenderers/MemberItemRenderer.mxml#L69 All icons are enumerated here: https://github.com/apache/flex-asjs/blob/ffcc9a3dc758ad1a670e4ad810e18994a124b60c/frameworks/projects/FontAwesome/src/main/flex/org/apache/flex/fa/FontAwesomeIconType.as Thanks, Om > vs > > <mdl:MaterialIconAdd/> > > What do you think? > > > > > -- > Carlos Rovira > http://about.me/carlosrovira >