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

Side by Side Diff: third_party/polymer/components-chromium/core-scaffold/core-scaffold-extracted.js

Issue 592593002: Inline scripts were extracted from Polymer elements. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: s/echo ""/echo/ Created 6 years, 2 months 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
OLDNEW
(Empty)
1
2
3 Polymer('core-scaffold', {
4
5 publish: {
6 /**
7 * When the browser window size is smaller than the `responsiveWidth`,
8 * `core-drawer-panel` changes to a narrow layout. In narrow layout,
9 * the drawer will be stacked on top of the main panel.
10 *
11 * @attribute responsiveWidth
12 * @type string
13 * @default '600px'
14 */
15 responsiveWidth: '600px',
16
17 /**
18 * Used to control the header and scrolling behaviour of `core-header-pane l`
19 *
20 * @attribute mode
21 * @type string
22 * @default 'seamed'
23 */
24 mode: {value: 'seamed', reflect: true}
25 },
26
27 /**
28 * Toggle the drawer panel
29 * @method togglePanel
30 */
31 togglePanel: function() {
32 this.$.drawerPanel.togglePanel();
33 },
34
35 /**
36 * Open the drawer panel
37 * @method openDrawer
38 */
39 openDrawer: function() {
40 this.$.drawerPanel.openDrawer();
41 },
42
43 /**
44 * Close the drawer panel
45 * @method closeDrawer
46 */
47 closeDrawer: function() {
48 this.$.drawerPanel.closeDrawer();
49 }
50
51 });
52
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698