Skip to content

Commit 1b8263f

Browse files
authored
Merge pull request #5557 from Polymer/compile
Fix a few Closure annotations
2 parents fe81676 + a6bff43 commit 1b8263f

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

lib/legacy/legacy-element-mixin.js

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -517,6 +517,8 @@ export const LegacyElementMixin = dedupingMixin((base) => {
517517
* is contained. This is a shorthand for
518518
* `this.getRootNode().host`.
519519
* @this {Element}
520+
* @return {?Node} The element whose local dom within which this element is
521+
* contained.
520522
*/
521523
get domHost() {
522524
let root = wrap(this).getRootNode();
@@ -940,9 +942,9 @@ export const LegacyElementMixin = dedupingMixin((base) => {
940942
* Cross-platform helper for setting an element's CSS `translate3d`
941943
* property.
942944
*
943-
* @param {number} x X offset.
944-
* @param {number} y Y offset.
945-
* @param {number} z Z offset.
945+
* @param {number|string} x X offset.
946+
* @param {number|string} y Y offset.
947+
* @param {number|string} z Z offset.
946948
* @param {Element=} node Element to apply the transform to.
947949
* Defaults to `this`.
948950
* @return {void}

0 commit comments

Comments
 (0)