Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id E5606200BAC for ; Wed, 26 Oct 2016 12:59:58 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id E3FD7160AEE; Wed, 26 Oct 2016 10:59:58 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 11D0E160ACA for ; Wed, 26 Oct 2016 12:59:57 +0200 (CEST) Received: (qmail 77113 invoked by uid 500); 26 Oct 2016 10:59:57 -0000 Mailing-List: contact dev-help@flex.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@flex.apache.org Delivered-To: mailing list dev@flex.apache.org Received: (qmail 77101 invoked by uid 99); 26 Oct 2016 10:59:56 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 26 Oct 2016 10:59:56 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id 6B2A2C7016 for ; Wed, 26 Oct 2016 10:59:56 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.48 X-Spam-Level: ** X-Spam-Status: No, score=2.48 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.001, HTML_MESSAGE=2, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RCVD_IN_SORBS_SPAM=0.5, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd1-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id S2aBcsIaFWgK for ; Wed, 26 Oct 2016 10:59:54 +0000 (UTC) Received: from mail-wm0-f48.google.com (mail-wm0-f48.google.com [74.125.82.48]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTPS id B8A1C5FC4A for ; Wed, 26 Oct 2016 10:59:53 +0000 (UTC) Received: by mail-wm0-f48.google.com with SMTP id 140so13591644wmv.0 for ; Wed, 26 Oct 2016 03:59:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to; bh=R5eS1T2AqEXJBWedhl4vWMZddWJCBzoKUsHCSCNUqsU=; b=p8CJO6z/oqsP34VhuQiSmC8pHyGhCqXq/kMpczso8owOYoxanI3J5bxKLSagjzzwBo 1dAYWgiI4BwwlemgN2qd2hoEj6P03lrAKMVb7q33tMgZ4SRi926UTL+i9tcY/I/lhemF Ak/vSo+f5sHemuV8rccdFWv9/RluSxiDz5v1j3hYN9kD9StZD74M/EO7LzuWipp4IohI 9fjKSlaho92azHXc61/lz2FchirWPilvGYoFLTy8z6k+9mqGOjxSoEwTLWfk1i9Dihl8 1psHcnnBdxPtipVIrzpFRHRMDWkPIU/pHYuYhwnNYendnjqCUfgRRJX2o70qpbB5O76c 39zw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to; bh=R5eS1T2AqEXJBWedhl4vWMZddWJCBzoKUsHCSCNUqsU=; b=iJ6qBxVgu4Xu9SXpSArDS0E//oOjMt7Brl8qSO/4imkQ0X/sfr+/Y784BuawF1Y+jF Kg1/F0M2r7+Pbyq92sg381r5mPmp7gquxiNJ8w/C+Q6kNqAYhttsM4U9/uJK3BoB0JsY jEgIcqt9N8Tf0BMG2wbmvnPW4hsR5eLY49P3Rylti7qIg4m0QyvoKzG7dUsYcsXS8uYG qYaLoGxQS876Akx3LkCWoZ/9Fa6Jzsv8gDte9mcAWF7HowRCcf/JbowJofjqoJtW6MXG WL2Q2X3nklLyBb7ph2bXWQOW5lz8hUJs0pHY7/l+8whBkfnei+BK+kHjBS2vQdqmJGYf Cnrw== X-Gm-Message-State: ABUngvdc/do/YO1FUzIQ+5VKMk8BcW5Ij+pgd2dkHg5DXLVZRGjIWx4gTZhdV/UrlCvN3eZSgNP/meXVBLyVtw== X-Received: by 10.28.198.11 with SMTP id w11mr2121373wmf.8.1477479591998; Wed, 26 Oct 2016 03:59:51 -0700 (PDT) MIME-Version: 1.0 Sender: carlos.rovira@gmail.com Received: by 10.28.113.87 with HTTP; Wed, 26 Oct 2016 03:59:31 -0700 (PDT) In-Reply-To: References: From: Carlos Rovira Date: Wed, 26 Oct 2016 12:59:31 +0200 X-Google-Sender-Auth: dsE9UtyLkUZ9thNI4Ajg3Bc2baU Message-ID: Subject: Re: [FlexJS] CSS (was Re: [FlexJS] Mobile Apps) To: "dev@flex.apache.org" Content-Type: multipart/alternative; boundary=94eb2c06d9cc3e7caa053fc2862d archived-at: Wed, 26 Oct 2016 10:59:59 -0000 --94eb2c06d9cc3e7caa053fc2862d Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable I implemented an EffectBead. For now I used a String, but I think I'll be changing to use flags as Josh proposed. 2016-10-25 0:17 GMT+02:00 Alex Harui : > > > On 10/24/16, 2:49 PM, "carlos.rovira@gmail.com on behalf of Carlos Rovira= " > > wrote: > > >Hi Om, > > > >the last sample seems good to me and I agree with avoid having the > >"effect" > >attribute in the class and promote composition. So to start, I would > >remove > >the "mdlEffect" attribute from mdl components and instead create a bead > >with it, ok? > > It really is up to you (and customer feedback). Another advantage of > beads is that it makes the MXML full declarative. The compile will catch > you if you mistype but will not catch you nor provide code > assist as you try to type "mdl-button--fab" and somehow remember to add > two hyphens in the right place. It is a trade-off of verbosity vs > catching compile time issues. I don't think there is a right answer, and > you can always provide more than one approach. > > Also realize that if you have more than one way to set className, folks > will may have to learn the order in which things are added to className. > If they want to inject some custom class selector and thus do: > > > > > > > > > > > How will they control where myCustomClass goes in the className list? > > Anyway, just pick something for now. Best plan is to get something that > folks can use, then you can get more opinions of how to make it easier. > > -Alex > > --=20 Carlos Rovira Director General M: +34 607 22 60 05 http://www.codeoscopic.com http://www.avant2.es Este mensaje se dirige exclusivamente a su destinatario y puede contener informaci=C3=B3n privilegiada o confidencial. Si ha recibido este mensaje p= or error, le rogamos que nos lo comunique inmediatamente por esta misma v=C3= =ADa y proceda a su destrucci=C3=B3n. De la vigente Ley Org=C3=A1nica de Protecci=C3=B3n de Datos (15/1999), le c= omunicamos que sus datos forman parte de un fichero cuyo responsable es CODEOSCOPIC S.A. La finalidad de dicho tratamiento es facilitar la prestaci=C3=B3n del servicio o informaci=C3=B3n solicitados, teniendo usted derecho de acceso, rectificaci=C3=B3n, cancelaci=C3=B3n y oposici=C3=B3n de sus datos dirigi= =C3=A9ndose a nuestras oficinas c/ Paseo de la Habana 9-11, 28036, Madrid con la documentaci=C3=B3= n necesaria. --94eb2c06d9cc3e7caa053fc2862d--