mirror of
https://github.com/Polymer/polymer.git
synced 2025-02-25 18:55:30 -06:00
Add node field to PolymerDomApi
And keep DomApiNative type compatible with PolymerDomApi. Upstreaming cl/275091781
This commit is contained in:
@@ -14,7 +14,7 @@
|
||||
*
|
||||
* @interface
|
||||
*/
|
||||
var PolymerDomApi = function() {};
|
||||
let PolymerDomApi = function() {};
|
||||
|
||||
/**
|
||||
* @param {?Node} node
|
||||
@@ -103,6 +103,9 @@ PolymerDomApi.prototype.getDestinationInsertionPoints = function() {};
|
||||
/** @return {?Node} */
|
||||
PolymerDomApi.prototype.getOwnerRoot = function() {};
|
||||
|
||||
/** @type {!Node} */
|
||||
PolymerDomApi.prototype.node;
|
||||
|
||||
/**
|
||||
* @param {string} attribute
|
||||
* @param {string} value
|
||||
|
||||
Reference in New Issue
Block a user