Skip to content

Instantly share code, notes, and snippets.

@surajp
Last active August 29, 2015 14:18
Show Gist options
  • Save surajp/ad23ce341f800d61fe54 to your computer and use it in GitHub Desktop.
Save surajp/ad23ce341f800d61fe54 to your computer and use it in GitHub Desktop.
designer
<link rel="import" href="../../salesforce/mobile-ui-elements/elements/force-sobject/force-sobject.html">
<link rel="import" href="../../salesforce/mobile-ui-elements/elements/force-ui-list/force-ui-list.html">
<polymer-element name="my-element">
<template>
<style>
:host {
position: absolute;
width: 100%;
height: 100%;
box-sizing: border-box;
top: 0px;
left: 0px;
}
#force_sobject {
left: 610px;
top: 300px;
position: absolute;
}
#force_ui_list {
left: 0px;
top: 0px;
position: absolute;
width: 100%;
height: 100%;
}
</style>
<force-sobject sobject="Account" id="force_sobject"></force-sobject>
<force-ui-list sobject="Contact" query="Select id, Name from Contact" querytype="soql" selected="001B0000003m2AYIAY" id="force_ui_list" class="content"></force-ui-list>
</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