Skip to content

Instantly share code, notes, and snippets.

@siddharatha
Last active August 29, 2015 14:09
Show Gist options
  • Save siddharatha/47d95e55a92b2ed60ba4 to your computer and use it in GitHub Desktop.
Save siddharatha/47d95e55a92b2ed60ba4 to your computer and use it in GitHub Desktop.
designer
<link rel="import" href="../../salesforce/s1-elements/scaffold/s1AppScaffold.html">
<link rel="import" href="../../salesforce/s1-elements/scaffold/s1PageContainer.html">
<polymer-element name="my-element">
<template>
<style>
:host {
position: absolute;
width: 100%;
height: 100%;
box-sizing: border-box;
}
#app {
width: 320px;
height: 620px;
left: 220px;
top: 40px;
position: absolute;
}
</style>
<s1-app-scaffold navcloseevent="sobject-selected" id="app">
<s1-page-container navigateon="core-activate" id="list" class="animate" active>
</s1-page-container>
<s1-page-container id="detail" class="animate">
</s1-page-container>
</s1-app-scaffold>
</template>
<script>
Polymer('my-element', {
});
</script>
</polymer-element>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment