diff --git a/lib/legacy/legacy-element-mixin.js b/lib/legacy/legacy-element-mixin.js index e2e136cba3..cfa17c6f0d 100644 --- a/lib/legacy/legacy-element-mixin.js +++ b/lib/legacy/legacy-element-mixin.js @@ -144,9 +144,10 @@ export const LegacyElementMixin = dedupingMixin((base) => { } /** + * Sets the value of an attribute. * @override - * @param {string} name - * @param {string} value + * @param {string} name The name of the attribute to change. + * @param {string} value The new attribute value. */ setAttribute(name, value) { if (legacyNoObservedAttributes && !this._legacyForceObservedAttributes) { @@ -160,8 +161,9 @@ export const LegacyElementMixin = dedupingMixin((base) => { } /** + * Removes an attribute. * @override - * @param {string} name + * @param {string} name The name of the attribute to remove. */ removeAttribute(name) { if (legacyNoObservedAttributes && !this._legacyForceObservedAttributes) {