Created
October 13, 2014 04:27
-
-
Save MWalid/e92ac8b90c88a2797535 to your computer and use it in GitHub Desktop.
designer
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<link rel="import" href="../core-icons/core-icons.html"> | |
<link rel="import" href="../core-icons/av-icons.html"> | |
<link rel="import" href="../paper-fab/paper-fab.html"> | |
<polymer-element name="my-element"> | |
<template> | |
<style> | |
:host { | |
position: absolute; | |
width: 100%; | |
height: 100%; | |
box-sizing: border-box; | |
} | |
#div { | |
left: 1110px; | |
top: 490px; | |
} | |
#paper_fab { | |
left: 590px; | |
top: 190px; | |
position: absolute; | |
} | |
</style> | |
<paper-fab icon="av:play-arrow" id="paper_fab" on-tap="{{tapped}}"></paper-fab> | |
</template> | |
<script> | |
Polymer({ | |
tapped: function() { | |
alert('tapped'); | |
} | |
}); | |
</script> | |
</polymer-element> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment