| Index: third_party/polymer/components-chromium/core-selector/core-selector.html
|
| diff --git a/third_party/polymer/components-chromium/core-selector/core-selector.html b/third_party/polymer/components-chromium/core-selector/core-selector.html
|
| deleted file mode 100644
|
| index 65ee80a825ead474780460fc71c4753f3221fb99..0000000000000000000000000000000000000000
|
| --- a/third_party/polymer/components-chromium/core-selector/core-selector.html
|
| +++ /dev/null
|
| @@ -1,70 +0,0 @@
|
| -<!--
|
| -Copyright (c) 2014 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
|
| ---><!--
|
| -@group Polymer Core Elements
|
| -
|
| -`<core-selector>` is used to manage a list of elements that can be selected.
|
| -
|
| -The attribute `selected` indicates which item element is being selected.
|
| -The attribute `multi` indicates if multiple items can be selected at once.
|
| -Tapping on the item element would fire `core-activate` event. Use
|
| -`core-select` event to listen for selection changes.
|
| -
|
| -Example:
|
| -
|
| - <core-selector selected="0">
|
| - <div>Item 1</div>
|
| - <div>Item 2</div>
|
| - <div>Item 3</div>
|
| - </core-selector>
|
| -
|
| -`<core-selector>` is not styled. Use the `core-selected` CSS class to style the selected element.
|
| -
|
| - <style>
|
| - .item.core-selected {
|
| - background: #eee;
|
| - }
|
| - </style>
|
| - ...
|
| - <core-selector>
|
| - <div class="item">Item 1</div>
|
| - <div class="item">Item 2</div>
|
| - <div class="item">Item 3</div>
|
| - </core-selector>
|
| -
|
| -@element core-selector
|
| -@status stable
|
| -@homepage github.io
|
| ---><!--
|
| -Fired when an item's selection state is changed. This event is fired both
|
| -when an item is selected or deselected. The `isSelected` detail property
|
| -contains the selection state.
|
| -
|
| -@event core-select
|
| -@param {Object} detail
|
| - @param {boolean} detail.isSelected true for selection and false for deselection
|
| - @param {Object} detail.item the item element
|
| ---><!--
|
| -Fired when an item element is tapped.
|
| -
|
| -@event core-activate
|
| -@param {Object} detail
|
| - @param {Object} detail.item the item element
|
| ---><html><head><link rel="import" href="../polymer/polymer.html">
|
| -<link rel="import" href="../core-selection/core-selection.html">
|
| -
|
| -</head><body><polymer-element name="core-selector" attributes="selected multi valueattr selectedClass selectedProperty selectedAttribute selectedItem selectedModel selectedIndex notap excludedLocalNames target itemsSelector activateEvent" assetpath="">
|
| -
|
| - <template>
|
| - <core-selection id="selection" multi="{{multi}}" on-core-select="{{selectionSelect}}"></core-selection>
|
| - <content id="items" select="*"></content>
|
| - </template>
|
| -
|
| -
|
| -</polymer-element>
|
| -<script charset="utf-8" src="core-selector-extracted.js"></script></body></html>
|
|
|