Skip to content

Commit

Permalink
Add next/previousElementSibling to PolymerDomApi externs
Browse files Browse the repository at this point in the history
See https://github.com/Polymer/polymer/blob/master/PRIMER.md#dom-api

Closes #2159

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=139619201
  • Loading branch information
jrunning authored and blickly committed Nov 19, 2016
1 parent 6f8abaa commit 25a01a8
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions contrib/externs/polymer-1.0.js
Original file line number Diff line number Diff line change
Expand Up @@ -772,6 +772,12 @@ PolymerDomApi.prototype.previousSibling;
/** @type {?Node} */
PolymerDomApi.prototype.nextSibling;

/** @type {?HTMLElement} */
PolymerDomApi.prototype.previousElementSibling;

/** @type {?HTMLElement} */
PolymerDomApi.prototype.nextElementSibling;

/** @type {string} */
PolymerDomApi.prototype.textContent;

Expand Down

0 comments on commit 25a01a8

Please sign in to comment.