| Index: third_party/polymer/components-chromium/core-scaffold/core-scaffold-extracted.js
|
| diff --git a/third_party/polymer/components-chromium/core-scaffold/core-scaffold-extracted.js b/third_party/polymer/components-chromium/core-scaffold/core-scaffold-extracted.js
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..de5795e79c8d9a7f95a5bd3b5a07acaeb3f862aa
|
| --- /dev/null
|
| +++ b/third_party/polymer/components-chromium/core-scaffold/core-scaffold-extracted.js
|
| @@ -0,0 +1,52 @@
|
| +
|
| +
|
| + Polymer('core-scaffold', {
|
| +
|
| + publish: {
|
| + /**
|
| + * When the browser window size is smaller than the `responsiveWidth`,
|
| + * `core-drawer-panel` changes to a narrow layout. In narrow layout,
|
| + * the drawer will be stacked on top of the main panel.
|
| + *
|
| + * @attribute responsiveWidth
|
| + * @type string
|
| + * @default '600px'
|
| + */
|
| + responsiveWidth: '600px',
|
| +
|
| + /**
|
| + * Used to control the header and scrolling behaviour of `core-header-panel`
|
| + *
|
| + * @attribute mode
|
| + * @type string
|
| + * @default 'seamed'
|
| + */
|
| + mode: {value: 'seamed', reflect: true}
|
| + },
|
| +
|
| + /**
|
| + * Toggle the drawer panel
|
| + * @method togglePanel
|
| + */
|
| + togglePanel: function() {
|
| + this.$.drawerPanel.togglePanel();
|
| + },
|
| +
|
| + /**
|
| + * Open the drawer panel
|
| + * @method openDrawer
|
| + */
|
| + openDrawer: function() {
|
| + this.$.drawerPanel.openDrawer();
|
| + },
|
| +
|
| + /**
|
| + * Close the drawer panel
|
| + * @method closeDrawer
|
| + */
|
| + closeDrawer: function() {
|
| + this.$.drawerPanel.closeDrawer();
|
| + }
|
| +
|
| + });
|
| +
|
|
|