royale-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alex Harui <aha...@adobe.com.INVALID>
Subject Re: Getting An Emulation Component To Run
Date Thu, 11 Oct 2018 07:31:50 GMT
Hi Alina,

Which components or properties are you trying to get to run?

-Alex

´╗┐On 10/10/18, 10:40 PM, "Alina Kazi" <alina.kazi@d-bz.com> wrote:

    Hi Alex,
    
     
    
    What if CSS for a component is not written in Basic / Express defaults.css?
    
    And We need it in MXRoyale / SparkRoyale
    
    Thanks,
    
    Alina Kazi
    
     
    
    From: Alex Harui [mailto:aharui@adobe.com] 
    Sent: Monday, October 08, 2018 8:40 PM
    To: Alina Kazi
    Subject: Re: Getting An Emulation Component To Run
    
     
    
    Hi Alina,
    
     
    
    Please ask these questions on dev@ as well.   
    
     
    
    CSS with ClassReference is a way to use Composition to customize components.   Copying
code is usually a bad practice as it creates maintenance issues.  So, in general, the preference
should be to use CSS.
    
     
    
    HTH,
    
    -Alex
    
     
    
    From: Alina Kazi <alina.kazi@d-bz.com>
    Date: Monday, October 8, 2018 at 2:02 AM
    To: Alex Harui <aharui@adobe.com>
    Subject: Getting An Emulation Component To Run
    
     
    
    Hi Alex,
    
    We want to know how can we identify which is the right stub? 
    
    For Example: selected property written differently in CheckBox, RadioButton and 
    
    we want selected property for Button. How can we identify and pick the right code for
Button?
    
     
    
    1.       copying the little bits of code from the Basic or Express version into the right
stub in the Emulation Component
    
    2.       copying the CSS from Basic or Express defaults.css into the MXRoyale or SparkRoyale
defaults.css
    
     
    
     
    
    Thanks in Advance,
    
    Alina Kazi
    
    

Mime
View raw message