Skip to content

Commit

Permalink
fix(jump-links): add default label
Browse files Browse the repository at this point in the history
  • Loading branch information
bennypowers committed Nov 5, 2024
1 parent 017052e commit 17abdfc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion elements/pf-jump-links/pf-jump-links.ts
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ export class PfJumpLinks extends LitElement {
@property({ type: Number }) offset = 0;

/** Label to add to nav element. */
@property() label?: string;
@property({ reflect: true }) label = 'Jump links';

#kids = this.querySelectorAll?.<LitElement>(':is(pf-jump-links-item, pf-jump-links-list)');

Expand Down

0 comments on commit 17abdfc

Please sign in to comment.