Skip to content

Instantly share code, notes, and snippets.

@jeancarlosgarcia
Last active August 29, 2015 14:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jeancarlosgarcia/0e66c8b1218a74ddff8f to your computer and use it in GitHub Desktop.
Save jeancarlosgarcia/0e66c8b1218a74ddff8f to your computer and use it in GitHub Desktop.
designer
<link rel="import" href="../topeka-elements/topeka-datasource.html">
<link rel="import" href="../notification-elements/notification-alert.html">
<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">
<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: 570px;
top: 260px;
position: absolute;
}
#app {
left: -100px;
top: -20px;
position: absolute;
}
#notification_alert {
left: 540px;
top: 240px;
position: absolute;
}
</style>
<div id="div">
<topeka-datasource url="../topeka-elements/categories.json" id="datasource" hidden></topeka-datasource>
</div>
<notification-alert message="Hi there!" icon="icon.png" name="notification" id="notification_alert"></notification-alert>
<topeka-app selected="profile" connected="{{ $.datasource.connected }}" disableleaderboard id="app" categories="[]" fit vertical layout></topeka-app>
</template>
<script>
Polymer({
});
</script>
</polymer-element>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment