Skip to content

Commit

Permalink
refactor(esl-carousel): update default target for nav targets
Browse files Browse the repository at this point in the history
  • Loading branch information
ala-n committed Jul 18, 2024
1 parent 0b5983f commit 5948a36
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ export class ESLCarouselNavDots extends ESLBaseElement {
/** {@link ESLTraversingQuery} string to find {@link ESLCarousel} instance */
@attr({
name: 'target',
defaultValue: '::parent([esl-carousel-container])::find(esl-carousel)'
defaultValue: '::parent(.esl-carousel-nav-container)::find(esl-carousel)'
})
public carousel: string;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ export class ESLCarouselNavMixin extends ESLMixinElement {
/** {@link ESLTraversingQuery} string to find {@link ESLCarousel} instance */
@attr({
name: ESLCarouselNavMixin.is + '-target',
defaultValue: '::parent([esl-carousel-container])::find(esl-carousel)'
defaultValue: '::parent(.esl-carousel-nav-container)::find(esl-carousel)'
})
public carousel: string;

Expand Down

0 comments on commit 5948a36

Please sign in to comment.