Created
July 19, 2017 18:05
-
-
Save KerryRitter/a4870a0673c5dd60d893be5d8445f6f7 to your computer and use it in GitHub Desktop.
S1ScrollerTest
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<apex:page showHeader="false" standardStylesheets="false" sidebar="false" applyHtmlTag="false" applyBodyTag="false" docType="html-5.0" standardController="Account"> | |
<style> | |
html, | |
html body { | |
overflow: visible; | |
-webkit-overflow-scrolling: touch; | |
} | |
body { | |
position: absolute; | |
left: 0; | |
right: 0; | |
top: 0; | |
bottom: 0; | |
} | |
.hideEl { | |
display: none !important; | |
} | |
</style> | |
<apex:includeLightning /> | |
<div id="lightning" /> | |
<script> | |
$Lightning.use("c:ProfitabilityCalculatorApp", function() { | |
$Lightning.createComponent("c:ProfitabilityCalculator", {}, | |
"lightning", | |
function(cmp) { | |
// do some stuff | |
}); | |
}); | |
</script> | |
</apex:page> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<aura:component implements="flexipage:availableForAllPageTypes,force:appHostable"> | |
<c:S1ScrollWrapper topHeight="00" bottomHeight="00"> | |
<c:S1ScrollWrapperTop > | |
<p>Top Bar</p> | |
</c:S1ScrollWrapperTop> | |
<c:S1ScrollWrapperBody > | |
<force:canvasApp developerName="ProfitabilityCalculator" /> | |
</c:S1ScrollWrapperBody> | |
<c:S1ScrollWrapperBottom > | |
<p>Bottom Bar</p> | |
</c:S1ScrollWrapperBottom> | |
</c:S1ScrollWrapper> | |
</aura:component> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<aura:application extends="ltng:outApp" > | |
<!--<c:ProfitabilityCalculator/>--> | |
<aura:dependency resource="c:ProfitabilityCalculator"/> | |
</aura:application> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment