Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(319)

Side by Side Diff: lib/paper_tabs.dart

Issue 1418513006: update elements and fix some bugs (Closed) Base URL: git@github.com:dart-lang/polymer_elements.git@master
Patch Set: code review updates Created 5 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « lib/paper_slider_nodart.html ('k') | lib/paper_toggle_button.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // DO NOT EDIT: auto-generated with `pub run custom_element_apigen:update` 1 // DO NOT EDIT: auto-generated with `pub run custom_element_apigen:update`
2 2
3 /// Dart API for the polymer element `paper_tabs`. 3 /// Dart API for the polymer element `paper_tabs`.
4 @HtmlImport('paper_tabs_nodart.html') 4 @HtmlImport('paper_tabs_nodart.html')
5 library polymer_elements.lib.src.paper_tabs.paper_tabs; 5 library polymer_elements.lib.src.paper_tabs.paper_tabs;
6 6
7 import 'dart:html'; 7 import 'dart:html';
8 import 'dart:js' show JsArray, JsObject; 8 import 'dart:js' show JsArray, JsObject;
9 import 'package:web_components/web_components.dart'; 9 import 'package:web_components/web_components.dart';
10 import 'package:polymer_interop/polymer_interop.dart'; 10 import 'package:polymer_interop/polymer_interop.dart';
11 import 'iron_resizable_behavior.dart'; 11 import 'iron_resizable_behavior.dart';
12 import 'iron_menubar_behavior.dart'; 12 import 'iron_menubar_behavior.dart';
13 import 'iron_menu_behavior.dart'; 13 import 'iron_menu_behavior.dart';
14 import 'iron_multi_selectable.dart'; 14 import 'iron_multi_selectable.dart';
15 import 'iron_selectable.dart'; 15 import 'iron_selectable.dart';
16 import 'iron_a11y_keys_behavior.dart'; 16 import 'iron_a11y_keys_behavior.dart';
17 import 'iron_flex_layout.dart'; 17 import 'iron_flex_layout.dart';
18 import 'iron_flex_layout/classes/iron_flex_layout.dart'; 18 import 'iron_flex_layout/classes/iron_flex_layout.dart';
19 import 'iron_icon.dart'; 19 import 'iron_icon.dart';
20 import 'paper_icon_button.dart'; 20 import 'paper_icon_button.dart';
21 import 'color.dart'; 21 import 'color.dart';
22 import 'paper_tabs_icons.dart'; 22 import 'paper_tabs_icons.dart';
23 import 'paper_tab.dart'; 23 import 'paper_tab.dart';
24 24
25 /// Material design: [Tabs](https://www.google.com/design/spec/components/tabs.h tml)
26 ///
25 /// `paper-tabs` makes it easy to explore and switch between different views or functional aspects of 27 /// `paper-tabs` makes it easy to explore and switch between different views or functional aspects of
26 /// an app, or to browse categorized data sets. 28 /// an app, or to browse categorized data sets.
27 /// 29 ///
28 /// Use `selected` property to get or set the selected tab. 30 /// Use `selected` property to get or set the selected tab.
29 /// 31 ///
30 /// Example: 32 /// Example:
31 /// 33 ///
32 /// <paper-tabs selected="0"> 34 /// <paper-tabs selected="0">
33 /// <paper-tab>TAB 1</paper-tab> 35 /// <paper-tab>TAB 1</paper-tab>
34 /// <paper-tab>TAB 2</paper-tab> 36 /// <paper-tab>TAB 2</paper-tab>
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
112 bool get scrollable => jsElement[r'scrollable']; 114 bool get scrollable => jsElement[r'scrollable'];
113 set scrollable(bool value) { jsElement[r'scrollable'] = value; } 115 set scrollable(bool value) { jsElement[r'scrollable'] = value; }
114 116
115 String get selectable => jsElement[r'selectable']; 117 String get selectable => jsElement[r'selectable'];
116 set selectable(String value) { jsElement[r'selectable'] = value; } 118 set selectable(String value) { jsElement[r'selectable'] = value; }
117 119
118 /// Gets or sets the selected element. The default is to use the index of the item. 120 /// Gets or sets the selected element. The default is to use the index of the item.
119 get selected => jsElement[r'selected']; 121 get selected => jsElement[r'selected'];
120 set selected(value) { jsElement[r'selected'] = (value is Map || (value is Iter able && value is! JsArray)) ? new JsObject.jsify(value) : value;} 122 set selected(value) { jsElement[r'selected'] = (value is Map || (value is Iter able && value is! JsArray)) ? new JsObject.jsify(value) : value;}
121 } 123 }
OLDNEW
« no previous file with comments | « lib/paper_slider_nodart.html ('k') | lib/paper_toggle_button.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698