Browse Source

Add missing opts in setId method

collection-component
mohamedsalem401 2 years ago
parent
commit
e6f4a6ef3f
  1. 2
      packages/core/src/dom_components/model/Component.ts

2
packages/core/src/dom_components/model/Component.ts

@ -1708,7 +1708,7 @@ export default class Component extends StyleableModel<ComponentProperties> {
* @return {this} * @return {this}
*/ */
setId(id: string, opts?: SetOptions & { idUpdate?: boolean }) { setId(id: string, opts?: SetOptions & { idUpdate?: boolean }) {
this.addAttributes({ id }); this.addAttributes({ id }, opts );
return this; return this;
} }

Loading…
Cancel
Save