Skip to content

Commit

Permalink
fix(button): add part attribute to button
Browse files Browse the repository at this point in the history
  • Loading branch information
Benoit-ROBIN committed May 21, 2024
1 parent e1f9cbc commit a2b5c91
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion button/internal/button.ts
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ export abstract class Button extends buttonBaseClass implements FormSubmitter {
${this.renderElevationOrOutline?.()}
<div class="background"></div>
<md-focus-ring part="focus-ring" for=${buttonId}></md-focus-ring>
<md-ripple for=${buttonId} ?disabled="${isDisabled}"></md-ripple>
<md-ripple part="ripple" for=${buttonId} ?disabled="${isDisabled}"></md-ripple>
${buttonOrLink}
`;
}
Expand Down

0 comments on commit a2b5c91

Please sign in to comment.