• Jhonata Santos 8
  • NEWBIE
  • 0 Points
  • Member since 2015

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 3
    Questions
  • 7
    Replies
hi guys,

we building a lightining component using the cometd js, because the lightning:empAPI, doesnt work in community. So we have two objects event in the platform, the events after subscribe are send asyncronos, we need syncronize the events both objects events, to create a relationship between it.

any suggestion?
Hi team,

I Created i action in controller and i need this action to run while a button is being pressed on the component. the UI: Button only has the press method, but not a mousedown for this, any suggestions?

the scenario is, a counter on the screen that while the button is being pressed the value is increasing.
Hi team, 

I need help, i have a aura component and use it in tab in Salesforce 1, but scroll doesnt work, i try use ui:scrollwrapper and the same behaviour happened, follow the piece of code that I need scrolling:
 
<ui:scrollerWrapper class="total total__content" >
            <aura:iteration items="{!v.Ges}" var="coluna">
                <div class="total__column">
                    <aura:iteration items="{!coluna}" var="linha">
                        <div class="{!if(linha == coluna[0], 'total__label total__label--blue', '')}" style="{!if(linha == coluna[0], 'display:block;', 'display:none;')}">                   
                          {!linha}
                        </div>
                        <div class="{!if(linha == coluna[0], '', 'total__box-result')}" style="{!if(linha == coluna[0], 'display:none;', 'display:flex;')}">                   
                   
                          <div style="flex: 10; padding-right: 5px;">
                           <div style="{!if(linha.length  > 3, 'width:180px', '')}"> 
                             {!linha}
                           </div>
                          <p style="white-space:nowrap;">    
                            <span>  
                              <c:getAtingida map="{!v.atingida}" key="{!linha}"/>
                            </span> 
                            <span>  
                              <c:getMeta map="{!v.meta}" key="{!linha}"/>
                            </span>
                          </p>    
                         </div>
                         <div style="flex: 1;">  
                            <c:getAlcancada map="{!v.alcancada}" key="{!linha}"/>
                          </div> 
                        </div>
                    </aura:iteration>
                </div>

            </aura:iteration>
          </ui:scrollerWrapper>
Any Idea?

Thx team.
 
hi guys,

we building a lightining component using the cometd js, because the lightning:empAPI, doesnt work in community. So we have two objects event in the platform, the events after subscribe are send asyncronos, we need syncronize the events both objects events, to create a relationship between it.

any suggestion?
Hi team,

I Created i action in controller and i need this action to run while a button is being pressed on the component. the UI: Button only has the press method, but not a mousedown for this, any suggestions?

the scenario is, a counter on the screen that while the button is being pressed the value is increasing.
Hi team, 

I need help, i have a aura component and use it in tab in Salesforce 1, but scroll doesnt work, i try use ui:scrollwrapper and the same behaviour happened, follow the piece of code that I need scrolling:
 
<ui:scrollerWrapper class="total total__content" >
            <aura:iteration items="{!v.Ges}" var="coluna">
                <div class="total__column">
                    <aura:iteration items="{!coluna}" var="linha">
                        <div class="{!if(linha == coluna[0], 'total__label total__label--blue', '')}" style="{!if(linha == coluna[0], 'display:block;', 'display:none;')}">                   
                          {!linha}
                        </div>
                        <div class="{!if(linha == coluna[0], '', 'total__box-result')}" style="{!if(linha == coluna[0], 'display:none;', 'display:flex;')}">                   
                   
                          <div style="flex: 10; padding-right: 5px;">
                           <div style="{!if(linha.length  > 3, 'width:180px', '')}"> 
                             {!linha}
                           </div>
                          <p style="white-space:nowrap;">    
                            <span>  
                              <c:getAtingida map="{!v.atingida}" key="{!linha}"/>
                            </span> 
                            <span>  
                              <c:getMeta map="{!v.meta}" key="{!linha}"/>
                            </span>
                          </p>    
                         </div>
                         <div style="flex: 1;">  
                            <c:getAlcancada map="{!v.alcancada}" key="{!linha}"/>
                          </div> 
                        </div>
                    </aura:iteration>
                </div>

            </aura:iteration>
          </ui:scrollerWrapper>
Any Idea?

Thx team.