1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00
jellyfin-web/dashboard-ui/bower_components/iron-selector/test/content-element.html

44 lines
992 B
HTML
Raw Normal View History

2015-06-16 00:52:01 -04: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 12:36:51 -04:00
<link rel="import" href="../iron-selector.html">
2015-06-16 00:52:01 -04:00
2015-06-19 12:36:51 -04:00
<dom-module id="test-content-element">
2015-06-16 00:52:01 -04:00
2015-06-19 12:36:51 -04:00
<template>
2015-06-16 00:52:01 -04:00
2015-06-19 12:36:51 -04:00
<iron-selector id="selector" selected="{{selected}}" selectable="[[selectable]]" attr-for-selected="id">
<content></content>
</iron-selector>
2015-06-16 00:52:01 -04:00
2015-06-19 12:36:51 -04:00
</template>
2015-06-16 00:52:01 -04:00
2015-06-19 12:36:51 -04:00
</dom-module>
2015-06-16 00:52:01 -04:00
2015-06-19 12:36:51 -04:00
<script>
2015-06-16 00:52:01 -04:00
2015-06-19 12:36:51 -04:00
Polymer({
2015-06-16 00:52:01 -04:00
2015-06-19 12:36:51 -04:00
is: 'test-content-element',
2015-06-16 00:52:01 -04:00
2015-06-19 12:36:51 -04:00
properties: {
2015-06-16 00:52:01 -04:00
2015-06-19 12:36:51 -04:00
selectable: String,
2015-06-16 00:52:01 -04:00
2015-06-19 12:36:51 -04:00
selected: {
type: String,
notify: true
}
2015-06-16 00:52:01 -04:00
2015-06-19 12:36:51 -04:00
}
2015-06-16 00:52:01 -04:00
2015-06-19 12:36:51 -04:00
});
2015-06-16 00:52:01 -04:00
2015-06-19 12:36:51 -04:00
</script>