Skip to content

Instantly share code, notes, and snippets.

@mitsuruog
Created July 19, 2015 14:07
Show Gist options
  • Save mitsuruog/1369c32b3e2b1f3746a7 to your computer and use it in GitHub Desktop.
Save mitsuruog/1369c32b3e2b1f3746a7 to your computer and use it in GitHub Desktop.
designer
<link rel="import" href="../../salesforce/mobile-ui-elements/elements/force-ui-app/force-ui-app.html">
<link rel="import" href="../../salesforce/mobile-ui-elements/elements/force-ui-list/force-ui-list.html">
<link rel="import" href="../paper-button/paper-button.html">
<polymer-element name="my-element">
<template>
<style>
:host {
position: absolute;
width: 100%;
height: 100%;
box-sizing: border-box;
}
#force_ui_app {
overflow-y: scroll;
left: 0px;
top: 0px;
position: absolute;
width: 100%;
height: 100%;
}
</style>
<force-ui-app id="force_ui_app" class="splitview">
<force-ui-list sobject="Account" query="Select id, Name from Account" querytype="soql" id="force_ui_list" class="content"></force-ui-list>
<paper-button label="Paper Button" id="paper_button"></paper-button>
</force-ui-app>
</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