Skip to content

Instantly share code, notes, and snippets.

@marsch
Created November 14, 2014 17:31
Show Gist options
  • Save marsch/eec2b88eb39018b1d8d8 to your computer and use it in GitHub Desktop.
Save marsch/eec2b88eb39018b1d8d8 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: 100%;
height: 100%;
min-height: 450px;
left: 0px;
top: 0px;
position: absolute;
}
#topeka_datasource {
left: 690px;
top: 410px;
position: absolute;
}
</style>
<topeka-app selected="categories" disableleaderboard id="topeka_app" user='{"name":"asdf a","avatar":3,"score":0}' categories="{{ $.topeka_datasource.url }}" vertical layout></topeka-app>
<topeka-datasource url="https://raw.githubusercontent.com/Polymer/topeka-elements/master/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