Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ESL Anchornav] final update #2626

Open
wants to merge 4 commits into
base: main-beta
Choose a base branch
from

Conversation

dshovchko
Copy link
Collaborator

Closes: #2578

@dshovchko dshovchko added the needs review The PR is waiting for review label Aug 30, 2024
@dshovchko dshovchko self-assigned this Aug 30, 2024
@dshovchko dshovchko changed the title Feature/esl anchornav final update [ESL Anchornav] final update Aug 30, 2024
@@ -29,7 +29,7 @@ export class ESLAnchornavSticked extends ESLMixinElement {
public set sticked(value: boolean) {
if (this._sticked === value) return;
this._sticked = value;
this.$$attr('sticked', value);
this.$$cls(`${ESLAnchornavSticked.is}-active`, value);
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Mb configurable attribute ?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

esl-anchornav-sticked="{activeClass: 'anchornav-sticked'}" ?

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It looks better, but it's cosmetic for now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs review The PR is waiting for review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants