SHARE
TWEET

Untitled

a guest Jun 19th, 2019 60 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. .THIS .forceCanvasApp {
  2.     position: fixed;
  3.     width: 1000px !important
  4. }
  5.      
  6. <aura:handler name="init" value="{!this}" action="{!c.doInit}"/>
  7.     <ui:button class="slds-align_absolute-center" label="Click Me To Popup!!!" press="{!c.openmodal}"  />
  8.         <div role="dialog" tabindex="-1" aria-labelledby="header43" aura:id="Modalbox" class="slds-modal slds-modal_large">
  9.  
  10.             <div class="slds-modal__container" >
  11.                 <force:canvasApp developerName="CanvasApp" parameters="{!v.identifie}"/>
  12.             </div>
  13.         </div>
  14.         <div class="slds-backdrop " aura:id="Modalbackdrop"></div>
  15.      
  16. openmodal:function(component,event,helper) {
  17.         var cmpTarget = component.find('Modalbox');
  18.         var cmpBack = component.find('Modalbackdrop');
  19.         $A.util.addClass(cmpTarget, 'slds-fade-in-open');
  20.         $A.util.addClass(cmpBack, 'slds-backdrop--open');
  21.     }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top