Skip to content

Instantly share code, notes, and snippets.

@shalintripathi
Created April 9, 2015 00:18
Show Gist options
  • Save shalintripathi/8bcfb66c6bc15001f9c2 to your computer and use it in GitHub Desktop.
Save shalintripathi/8bcfb66c6bc15001f9c2 to your computer and use it in GitHub Desktop.
designer
<link rel="import" href="../topeka-elements/theme.html">
<link rel="import" href="../topeka-elements/topeka-resources.html">
<link rel="import" href="../topeka-elements/topeka-app.html">
<link rel="import" href="../topeka-elements/topeka-datasource.html">
<polymer-element name="my-element">
<template>
<style>
:host {
position: absolute;
width: 100%;
height: 100%;
box-sizing: border-box;
}
#topeka_app {
width: 300px;
height: 300px;
min-height: 450px;
left: 310px;
top: 30px;
position: absolute;
}
#topeka_datasource {
left: 680px;
top: 100px;
position: absolute;
}
</style>
<topeka-app selected="categories" disableleaderboard id="topeka_app" user='{"name":"Shiva T","avatar":12,"score":0}' categories="[]" vertical layout></topeka-app>
<topeka-datasource url="../topeka-elements/categories.json" id="topeka_datasource" hidden></topeka-datasource>
</template>
<script>
Polymer({
});
</script>
</polymer-element>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment