| Index: samples/third_party/todomvc_performance/js_todomvc/components/polymer-selection/polymer-selection.html
|
| diff --git a/samples/third_party/todomvc/web/lib-elements/polymer-selection.html b/samples/third_party/todomvc_performance/js_todomvc/components/polymer-selection/polymer-selection.html
|
| similarity index 97%
|
| copy from samples/third_party/todomvc/web/lib-elements/polymer-selection.html
|
| copy to samples/third_party/todomvc_performance/js_todomvc/components/polymer-selection/polymer-selection.html
|
| index 609ced39ded902980f4e5807a8fae2a154996f5d..d29fae49d774e0679886bbe3514e582c21398b69 100644
|
| --- a/samples/third_party/todomvc/web/lib-elements/polymer-selection.html
|
| +++ b/samples/third_party/todomvc_performance/js_todomvc/components/polymer-selection/polymer-selection.html
|
| @@ -15,12 +15,12 @@ license that can be found in the LICENSE file.
|
| * For example, <a href="polymer-selector.html">polymer-selector</a>
|
| * use a polymer-selection to manage selection.
|
| *
|
| - * To mark an item as selected, call the select(item) method on
|
| + * To mark an item as selected, call the select(item) method on
|
| * polymer-selection. Notice that the item itself is an argument to this method.
|
| * The polymer-selection element manages selection state for any given set of
|
| * items. When an item is selected, the `polymer-select` event is fired.
|
| * The attribute "multi" indicates if multiple items can be selected at once.
|
| - *
|
| + *
|
| * Example:
|
| *
|
| * <polymer-element name="selection-example">
|
| @@ -60,13 +60,15 @@ license that can be found in the LICENSE file.
|
| * 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 polymer-select
|
| * @param {Object} detail
|
| * @param {boolean} detail.isSelected true for selection and false for deselection
|
| * @param {Object} detail.item the item element
|
| */
|
| -->
|
| +<link rel="import" href="../polymer/polymer.html">
|
| +
|
| <polymer-element name="polymer-selection" attributes="multi">
|
| <template>
|
| <style>
|
| @@ -95,7 +97,7 @@ license that can be found in the LICENSE file.
|
| * Retrieves the selected item(s).
|
| * @method getSelection
|
| * @returns Returns the selected item(s). If the multi property is true,
|
| - * getSelection will return an array, otherwise it will return
|
| + * getSelection will return an array, otherwise it will return
|
| * the selected item or undefined if there is no selection.
|
| */
|
| getSelection: function() {
|
|
|