Created
January 26, 2015 22:47
-
-
Save frankiefu/72b907dc766382bd1792 to your computer and use it in GitHub Desktop.
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-selectable/core-selectable.html"> | |
<link rel="import" href="../core-resizable/core-resizable.html"> | |
<dom-module id="core-pages"> | |
<style> | |
core-pages { | |
display: block; | |
} | |
core-pages > :not(.core-selected) { | |
display: none !important; | |
} | |
</style> | |
<template> | |
<div> | |
<div></div> | |
</div> | |
</template> | |
</dom-module> | |
<script> | |
Polymer({ | |
is: 'core-pages', | |
published: { | |
index: Number, | |
selected: String | |
}, | |
bind: { | |
index: 'indexChanged', | |
selected: 'selectedChanged', | |
selectedItem: 'selectedItemChanged' | |
}, | |
ready: function() { | |
this.selectableReady(); | |
}, | |
attached: function() { | |
this.resizerAttached(); | |
}, | |
detached: function() { | |
this.resizerDetached(); | |
}, | |
}); | |
</script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment