Skip to content

Instantly share code, notes, and snippets.

@Permik
Created March 27, 2015 10:04
Show Gist options
  • Save Permik/5b40c90e7b975f12e3ab to your computer and use it in GitHub Desktop.
Save Permik/5b40c90e7b975f12e3ab 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;
}
#div {
height: 100%;
width: 100%;
overflow: hidden;
left: 0px;
top: 0px;
position: absolute;
}
</style>
<div id="div">
<topeka-app selected="profile" connected="{{ $.datasource.connected }}" disableleaderboard id="app" categories="[]" fit vertical layout></topeka-app>
<topeka-datasource url="../topeka-elements/categories.json" id="datasource" hidden></topeka-datasource>
</div>
</template>
<script>
Polymer({
});
</script>
</polymer-element>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment