Skip to content

Instantly share code, notes, and snippets.

@jfchevrette
Created August 22, 2014 14:55
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 jfchevrette/54db3eda6f83ec860545 to your computer and use it in GitHub Desktop.
Save jfchevrette/54db3eda6f83ec860545 to your computer and use it in GitHub Desktop.
designer
<link rel="import" href="../topeka-elements/topeka-resources.html">
<link rel="import" href="../topeka-elements/topeka-leaderboard.html">
<polymer-element name="my-element">
<template>
<style>
:host {
position: absolute;
width: 100%;
height: 100%;
box-sizing: border-box;
}
#topeka_leaderboard {
width: 300px;
height: 300px;
left: 140px;
top: 90px;
position: absolute;
}
</style>
<topeka-leaderboard id="topeka_leaderboard" vertical layout></topeka-leaderboard>
</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