| OLD | NEW |
| 1 /** | 1 /** |
| 2 * @fileoverview Closure compiler externs for the Polymer library. | 2 * @fileoverview Closure compiler externs for the Polymer library. |
| 3 * | 3 * |
| 4 * @externs | 4 * @externs |
| 5 * @license | 5 * @license |
| 6 * Copyright (c) 2015 The Polymer Project Authors. All rights reserved. | 6 * Copyright (c) 2015 The Polymer Project Authors. All rights reserved. |
| 7 * This code may only be used under the BSD style license found at | 7 * This code may only be used under the BSD style license found at |
| 8 * http://polymer.github.io/LICENSE.txt. The complete set of authors may be | 8 * http://polymer.github.io/LICENSE.txt. The complete set of authors may be |
| 9 * found at http://polymer.github.io/AUTHORS.txt. The complete set of | 9 * found at http://polymer.github.io/AUTHORS.txt. The complete set of |
| 10 * contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt. Code | 10 * contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt. Code |
| (...skipping 446 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 457 * into the element's `customStyle` property. This argument provides a | 457 * into the element's `customStyle` property. This argument provides a |
| 458 * shortcut for setting `customStyle` and then calling `updateStyles`. | 458 * shortcut for setting `customStyle` and then calling `updateStyles`. |
| 459 */ | 459 */ |
| 460 PolymerElement.prototype.updateStyles = function(properties) {}; | 460 PolymerElement.prototype.updateStyles = function(properties) {}; |
| 461 | 461 |
| 462 /** | 462 /** |
| 463 * @type {!Object<string, string|undefined>} | 463 * @type {!Object<string, string|undefined>} |
| 464 */ | 464 */ |
| 465 PolymerElement.prototype.customStyle; | 465 PolymerElement.prototype.customStyle; |
| 466 | 466 |
| 467 /** @type {Node|undefined} */ |
| 468 PolymerElement.prototype.shadyRoot; |
| 469 |
| 467 /** | 470 /** |
| 468 * Logs a message to the console. | 471 * Logs a message to the console. |
| 469 * | 472 * |
| 470 * @param {!Array} var_args | 473 * @param {!Array} var_args |
| 471 * @protected | 474 * @protected |
| 472 */ | 475 */ |
| 473 PolymerElement.prototype._log = function(var_args) {}; | 476 PolymerElement.prototype._log = function(var_args) {}; |
| 474 | 477 |
| 475 /** | 478 /** |
| 476 * Logs a message to the console with a 'warn' level. | 479 * Logs a message to the console with a 'warn' level. |
| (...skipping 435 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 912 * method does not size the element, and it's usually necessary to set | 915 * method does not size the element, and it's usually necessary to set |
| 913 * the element's height and width so that the background image is visible. | 916 * the element's height and width so that the background image is visible. |
| 914 * | 917 * |
| 915 * @param {Element} element The element to which the icon is applied. | 918 * @param {Element} element The element to which the icon is applied. |
| 916 * @param {string} icon The name of the icon to apply. | 919 * @param {string} icon The name of the icon to apply. |
| 917 * @param {string=} theme (optional) The name or index of the icon to apply. | 920 * @param {string=} theme (optional) The name or index of the icon to apply. |
| 918 * @param {number=} scale (optional, defaults to 1) Icon scaling factor. | 921 * @param {number=} scale (optional, defaults to 1) Icon scaling factor. |
| 919 */ | 922 */ |
| 920 Polymer.Iconset.prototype.applyIcon = function( | 923 Polymer.Iconset.prototype.applyIcon = function( |
| 921 element, icon, theme, scale) {}; | 924 element, icon, theme, scale) {}; |
| OLD | NEW |