1
1
/**
2
+ * @fileoverview Closure types for Polymer mixins
3
+ * @externs
4
+ *
2
5
* @license
3
6
* Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
4
7
* This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
5
8
* The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
6
9
* The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
7
10
* Code distributed by Google as part of the polymer project is also
8
11
* subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
9
- */
10
- /**
11
- * @fileoverview Closure types for Polymer mixins
12
12
*
13
13
* This file is generated, do not edit manually
14
14
*/
@@ -204,9 +204,9 @@ Polymer_TemplateStamp.prototype._removeEventListenerFromNode = function(node, ev
204
204
*/
205
205
Polymer_TemplateStamp . _parseTemplate = function ( template , outerTemplateInfo ) { } ;
206
206
/**
207
- * @param {* } template
208
- * @param {* } templateInfo
209
- * @param {* } nodeInfo
207
+ * @param {* } template
208
+ * @param {* } templateInfo
209
+ * @param {* } nodeInfo
210
210
*/
211
211
Polymer_TemplateStamp . _parseTemplateContent = function ( template , templateInfo , nodeInfo ) { } ;
212
212
/**
@@ -589,7 +589,7 @@ Polymer_PropertyEffects.prototype.get = function(path, root){};
589
589
Polymer_PropertyEffects . prototype . set = function ( path , value , root ) { } ;
590
590
/**
591
591
* @param {(string|!Array.<(string|number)>) } path Path to array.
592
- * @param {...* } items
592
+ * @param {...* } items
593
593
* @return {number }
594
594
*/
595
595
Polymer_PropertyEffects . prototype . push = function ( path , items ) { } ;
@@ -602,7 +602,7 @@ Polymer_PropertyEffects.prototype.pop = function(path){};
602
602
* @param {(string|!Array.<(string|number)>) } path Path to array.
603
603
* @param {number } start Index from which to start removing/inserting.
604
604
* @param {number } deleteCount Number of items to remove.
605
- * @param {...* } items
605
+ * @param {...* } items
606
606
* @return {Array }
607
607
*/
608
608
Polymer_PropertyEffects . prototype . splice = function ( path , start , deleteCount , items ) { } ;
@@ -613,7 +613,7 @@ Polymer_PropertyEffects.prototype.splice = function(path, start, deleteCount, it
613
613
Polymer_PropertyEffects . prototype . shift = function ( path ) { } ;
614
614
/**
615
615
* @param {(string|!Array.<(string|number)>) } path Path to array.
616
- * @param {...* } items
616
+ * @param {...* } items
617
617
* @return {number }
618
618
*/
619
619
Polymer_PropertyEffects . prototype . unshift = function ( path , items ) { } ;
@@ -680,9 +680,9 @@ Polymer_PropertyEffects.prototype._removeBoundDom = function(dom){};
680
680
*/
681
681
Polymer_PropertyEffects . _parseTemplate = function ( template , outerTemplateInfo ) { } ;
682
682
/**
683
- * @param {* } template
684
- * @param {* } templateInfo
685
- * @param {* } nodeInfo
683
+ * @param {* } template
684
+ * @param {* } templateInfo
685
+ * @param {* } nodeInfo
686
686
*/
687
687
Polymer_PropertyEffects . _parseTemplateContent = function ( template , templateInfo , nodeInfo ) { } ;
688
688
/**
@@ -719,8 +719,8 @@ Polymer_PropertyEffects._parseTemplateNodeAttributes = function(node, templateIn
719
719
* @param {Element } node Node to parse
720
720
* @param {TemplateInfo } templateInfo Template metadata for current template
721
721
* @param {NodeInfo } nodeInfo Node metadata for current template node
722
- * @param {* } name
723
- * @param {* } value
722
+ * @param {* } name
723
+ * @param {* } value
724
724
* @return {boolean }
725
725
*/
726
726
Polymer_PropertyEffects . _parseTemplateNodeAttribute = function ( node , templateInfo , nodeInfo , name , value ) { } ;
@@ -1097,7 +1097,7 @@ Polymer_ElementMixin.prototype.get = function(path, root){};
1097
1097
Polymer_ElementMixin . prototype . set = function ( path , value , root ) { } ;
1098
1098
/**
1099
1099
* @param {(string|!Array.<(string|number)>) } path Path to array.
1100
- * @param {...* } items
1100
+ * @param {...* } items
1101
1101
* @return {number }
1102
1102
*/
1103
1103
Polymer_ElementMixin . prototype . push = function ( path , items ) { } ;
@@ -1110,7 +1110,7 @@ Polymer_ElementMixin.prototype.pop = function(path){};
1110
1110
* @param {(string|!Array.<(string|number)>) } path Path to array.
1111
1111
* @param {number } start Index from which to start removing/inserting.
1112
1112
* @param {number } deleteCount Number of items to remove.
1113
- * @param {...* } items
1113
+ * @param {...* } items
1114
1114
* @return {Array }
1115
1115
*/
1116
1116
Polymer_ElementMixin . prototype . splice = function ( path , start , deleteCount , items ) { } ;
@@ -1121,7 +1121,7 @@ Polymer_ElementMixin.prototype.splice = function(path, start, deleteCount, items
1121
1121
Polymer_ElementMixin . prototype . shift = function ( path ) { } ;
1122
1122
/**
1123
1123
* @param {(string|!Array.<(string|number)>) } path Path to array.
1124
- * @param {...* } items
1124
+ * @param {...* } items
1125
1125
* @return {number }
1126
1126
*/
1127
1127
Polymer_ElementMixin . prototype . unshift = function ( path , items ) { } ;
@@ -1250,8 +1250,8 @@ Polymer_ElementMixin._parseTemplateNodeAttributes = function(node, templateInfo,
1250
1250
* @param {Element } node Node to parse
1251
1251
* @param {TemplateInfo } templateInfo Template metadata for current template
1252
1252
* @param {NodeInfo } nodeInfo Node metadata for current template node
1253
- * @param {* } name
1254
- * @param {* } value
1253
+ * @param {* } name
1254
+ * @param {* } value
1255
1255
* @return {boolean }
1256
1256
*/
1257
1257
Polymer_ElementMixin . _parseTemplateNodeAttribute = function ( node , templateInfo , nodeInfo , name , value ) { } ;
@@ -1340,15 +1340,15 @@ Polymer_ElementMixin.finalize = function(){};
1340
1340
*/
1341
1341
function Polymer_GestureEventListeners ( ) { }
1342
1342
/**
1343
- * @param {* } node
1344
- * @param {* } eventName
1345
- * @param {* } handler
1343
+ * @param {* } node
1344
+ * @param {* } eventName
1345
+ * @param {* } handler
1346
1346
*/
1347
1347
Polymer_GestureEventListeners . prototype . _addEventListenerToNode = function ( node , eventName , handler ) { } ;
1348
1348
/**
1349
- * @param {* } node
1350
- * @param {* } eventName
1351
- * @param {* } handler
1349
+ * @param {* } node
1350
+ * @param {* } eventName
1351
+ * @param {* } handler
1352
1352
*/
1353
1353
Polymer_GestureEventListeners . prototype . _removeEventListenerFromNode = function ( node , eventName , handler ) { } ;
1354
1354
/**
@@ -1382,15 +1382,15 @@ Polymer_LegacyElementMixin.prototype._stampTemplate = function(template){};
1382
1382
*/
1383
1383
Polymer_LegacyElementMixin . prototype . _addMethodEventListenerToNode = function ( node , eventName , methodName , context ) { } ;
1384
1384
/**
1385
- * @param {* } node
1386
- * @param {* } eventName
1387
- * @param {* } handler
1385
+ * @param {* } node
1386
+ * @param {* } eventName
1387
+ * @param {* } handler
1388
1388
*/
1389
1389
Polymer_LegacyElementMixin . prototype . _addEventListenerToNode = function ( node , eventName , handler ) { } ;
1390
1390
/**
1391
- * @param {* } node
1392
- * @param {* } eventName
1393
- * @param {* } handler
1391
+ * @param {* } node
1392
+ * @param {* } eventName
1393
+ * @param {* } handler
1394
1394
*/
1395
1395
Polymer_LegacyElementMixin . prototype . _removeEventListenerFromNode = function ( node , eventName , handler ) { } ;
1396
1396
/**
@@ -1639,7 +1639,7 @@ Polymer_LegacyElementMixin.prototype.get = function(path, root){};
1639
1639
Polymer_LegacyElementMixin . prototype . set = function ( path , value , root ) { } ;
1640
1640
/**
1641
1641
* @param {(string|!Array.<(string|number)>) } path Path to array.
1642
- * @param {...* } items
1642
+ * @param {...* } items
1643
1643
* @return {number }
1644
1644
*/
1645
1645
Polymer_LegacyElementMixin . prototype . push = function ( path , items ) { } ;
@@ -1652,7 +1652,7 @@ Polymer_LegacyElementMixin.prototype.pop = function(path){};
1652
1652
* @param {(string|!Array.<(string|number)>) } path Path to array.
1653
1653
* @param {number } start Index from which to start removing/inserting.
1654
1654
* @param {number } deleteCount Number of items to remove.
1655
- * @param {...* } items
1655
+ * @param {...* } items
1656
1656
* @return {Array }
1657
1657
*/
1658
1658
Polymer_LegacyElementMixin . prototype . splice = function ( path , start , deleteCount , items ) { } ;
@@ -1663,7 +1663,7 @@ Polymer_LegacyElementMixin.prototype.splice = function(path, start, deleteCount,
1663
1663
Polymer_LegacyElementMixin . prototype . shift = function ( path ) { } ;
1664
1664
/**
1665
1665
* @param {(string|!Array.<(string|number)>) } path Path to array.
1666
- * @param {...* } items
1666
+ * @param {...* } items
1667
1667
* @return {number }
1668
1668
*/
1669
1669
Polymer_LegacyElementMixin . prototype . unshift = function ( path , items ) { } ;
@@ -1914,8 +1914,8 @@ Polymer_LegacyElementMixin.prototype.isLightDescendant = function(node){};
1914
1914
*/
1915
1915
Polymer_LegacyElementMixin . prototype . isLocalDescendant = function ( node ) { } ;
1916
1916
/**
1917
- * @param {* } container
1918
- * @param {* } shouldObserve
1917
+ * @param {* } container
1918
+ * @param {* } shouldObserve
1919
1919
*/
1920
1920
Polymer_LegacyElementMixin . prototype . scopeSubtree = function ( container , shouldObserve ) { } ;
1921
1921
/**
@@ -2023,20 +2023,20 @@ Polymer_LegacyElementMixin.prototype.arrayDelete = function(arrayOrPath, item){}
2023
2023
*/
2024
2024
Polymer_LegacyElementMixin . prototype . _logger = function ( level , args ) { } ;
2025
2025
/**
2026
- * @param {...* } args
2026
+ * @param {...* } args
2027
2027
*/
2028
2028
Polymer_LegacyElementMixin . prototype . _log = function ( args ) { } ;
2029
2029
/**
2030
- * @param {...* } args
2030
+ * @param {...* } args
2031
2031
*/
2032
2032
Polymer_LegacyElementMixin . prototype . _warn = function ( args ) { } ;
2033
2033
/**
2034
- * @param {...* } args
2034
+ * @param {...* } args
2035
2035
*/
2036
2036
Polymer_LegacyElementMixin . prototype . _error = function ( args ) { } ;
2037
2037
/**
2038
2038
* @param {string } methodName Method name to associate with message
2039
- * @param {...* } args
2039
+ * @param {...* } args
2040
2040
* @return {Array }
2041
2041
*/
2042
2042
Polymer_LegacyElementMixin . prototype . _logf = function ( methodName , args ) { } ;
@@ -2085,8 +2085,8 @@ Polymer_LegacyElementMixin._parseTemplateNodeAttributes = function(node, templat
2085
2085
* @param {Element } node Node to parse
2086
2086
* @param {TemplateInfo } templateInfo Template metadata for current template
2087
2087
* @param {NodeInfo } nodeInfo Node metadata for current template node
2088
- * @param {* } name
2089
- * @param {* } value
2088
+ * @param {* } name
2089
+ * @param {* } value
2090
2090
* @return {boolean }
2091
2091
*/
2092
2092
Polymer_LegacyElementMixin . _parseTemplateNodeAttribute = function ( node , templateInfo , nodeInfo , name , value ) { } ;
@@ -2488,7 +2488,7 @@ Polymer_ArraySelectorMixin.prototype.get = function(path, root){};
2488
2488
Polymer_ArraySelectorMixin . prototype . set = function ( path , value , root ) { } ;
2489
2489
/**
2490
2490
* @param {(string|!Array.<(string|number)>) } path Path to array.
2491
- * @param {...* } items
2491
+ * @param {...* } items
2492
2492
* @return {number }
2493
2493
*/
2494
2494
Polymer_ArraySelectorMixin . prototype . push = function ( path , items ) { } ;
@@ -2501,7 +2501,7 @@ Polymer_ArraySelectorMixin.prototype.pop = function(path){};
2501
2501
* @param {(string|!Array.<(string|number)>) } path Path to array.
2502
2502
* @param {number } start Index from which to start removing/inserting.
2503
2503
* @param {number } deleteCount Number of items to remove.
2504
- * @param {...* } items
2504
+ * @param {...* } items
2505
2505
* @return {Array }
2506
2506
*/
2507
2507
Polymer_ArraySelectorMixin . prototype . splice = function ( path , start , deleteCount , items ) { } ;
@@ -2512,7 +2512,7 @@ Polymer_ArraySelectorMixin.prototype.splice = function(path, start, deleteCount,
2512
2512
Polymer_ArraySelectorMixin . prototype . shift = function ( path ) { } ;
2513
2513
/**
2514
2514
* @param {(string|!Array.<(string|number)>) } path Path to array.
2515
- * @param {...* } items
2515
+ * @param {...* } items
2516
2516
* @return {number }
2517
2517
*/
2518
2518
Polymer_ArraySelectorMixin . prototype . unshift = function ( path , items ) { } ;
@@ -2671,8 +2671,8 @@ Polymer_ArraySelectorMixin._parseTemplateNodeAttributes = function(node, templat
2671
2671
* @param {Element } node Node to parse
2672
2672
* @param {TemplateInfo } templateInfo Template metadata for current template
2673
2673
* @param {NodeInfo } nodeInfo Node metadata for current template node
2674
- * @param {* } name
2675
- * @param {* } value
2674
+ * @param {* } name
2675
+ * @param {* } value
2676
2676
* @return {boolean }
2677
2677
*/
2678
2678
Polymer_ArraySelectorMixin . _parseTemplateNodeAttribute = function ( node , templateInfo , nodeInfo , name , value ) { } ;
@@ -2755,4 +2755,4 @@ Polymer_ArraySelectorMixin._parseBindings = function(text, templateInfo){};
2755
2755
Polymer_ArraySelectorMixin . _evaluateBinding = function ( inst , part , path , props , oldProps , hasPaths ) { } ;
2756
2756
/**
2757
2757
*/
2758
- Polymer_ArraySelectorMixin . finalize = function ( ) { } ;
2758
+ Polymer_ArraySelectorMixin . finalize = function ( ) { } ;
0 commit comments