29 lines
896 B
HTML
29 lines
896 B
HTML
<link rel="import" href="../../padlock.html">
|
|
<link rel="import" href="../../../bower_components/polymer/polymer.html">
|
|
<link rel="import" href="../../../bower_components/shape-shifter/shape-shifter.html">
|
|
<link rel="import" href="option.html">
|
|
<link rel="import" href="../../styles/shared-styles.html">
|
|
<link rel="import" href="select-styles.html">
|
|
|
|
<dom-module id="padlock-select">
|
|
|
|
<template>
|
|
|
|
<style include="shared-styles"></style>
|
|
<style include="select-styles"></style>
|
|
|
|
<button on-tap="toggleOpen" class$="{{ _selectedClass(selected) }}">
|
|
<span>{{ _label(selected, label) }}</span>
|
|
<shape-shifter shape="{{ _shape(open) }}" springy></shape-shifter>
|
|
</button>
|
|
|
|
<div class="options" on-tap="_optionTap">
|
|
<content></content>
|
|
</div>
|
|
|
|
</template>
|
|
|
|
<script src="select.js"></script>
|
|
|
|
</dom-module>
|