jellyfin-web/dashboard-ui/bower_components/iron-selector/test/content-element.html

44 lines
992 B
HTML
Raw Normal View History

2015-06-15 21:52:01 -07:00
<!--
Copyright (c) 2015 The Polymer Project Authors. All rights reserved.
This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
Code distributed by Google as part of the polymer project is also
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
-->
2015-06-19 09:36:51 -07:00
<link rel="import" href="../iron-selector.html">
2015-06-15 21:52:01 -07:00
2015-06-19 09:36:51 -07:00
<dom-module id="test-content-element">
2015-06-15 21:52:01 -07:00
2015-06-19 09:36:51 -07:00
<template>
2015-06-15 21:52:01 -07:00
2015-06-19 09:36:51 -07:00
<iron-selector id="selector" selected="{{selected}}" selectable="[[selectable]]" attr-for-selected="id">
<content></content>
</iron-selector>
2015-06-15 21:52:01 -07:00
2015-06-19 09:36:51 -07:00
</template>
2015-06-15 21:52:01 -07:00
2015-06-19 09:36:51 -07:00
</dom-module>
2015-06-15 21:52:01 -07:00
2015-06-19 09:36:51 -07:00
<script>
2015-06-15 21:52:01 -07:00
2015-06-19 09:36:51 -07:00
Polymer({
2015-06-15 21:52:01 -07:00
2015-06-19 09:36:51 -07:00
is: 'test-content-element',
2015-06-15 21:52:01 -07:00
2015-06-19 09:36:51 -07:00
properties: {
2015-06-15 21:52:01 -07:00
2015-06-19 09:36:51 -07:00
selectable: String,
2015-06-15 21:52:01 -07:00
2015-06-19 09:36:51 -07:00
selected: {
type: String,
notify: true
}
2015-06-15 21:52:01 -07:00
2015-06-19 09:36:51 -07:00
}
2015-06-15 21:52:01 -07:00
2015-06-19 09:36:51 -07:00
});
2015-06-15 21:52:01 -07:00
2015-06-19 09:36:51 -07:00
</script>