Skip to content

Commit

Permalink
docs(esl-carousel): small doc update esl-carousel.slide.ts
Browse files Browse the repository at this point in the history
Co-authored-by: Yuliya Adamska <[email protected]>
  • Loading branch information
ala-n and yadamskaya authored Apr 12, 2024
1 parent e2b0936 commit 0d4909f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/modules/esl-carousel/core/esl-carousel.slide.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ export class ESLCarouselSlide extends ESLBaseElement {
if (attrName === 'active') this.updateActiveStateA11y();
}

/** @returns index of the slide in the carousel. */
/** @returns slide index. */
public get index(): number {
if (!this.parentNode) return NaN;
return Array.prototype.indexOf.call(this.parentNode.children, this);
Expand Down

0 comments on commit 0d4909f

Please sign in to comment.