Add part for styling
This commit is contained in:
@@ -43,7 +43,7 @@ class TpTimeoutStrip extends LitElement {
|
||||
|
||||
render() {
|
||||
return html`
|
||||
<div class="strip ${this.active ? 'active' : ''}" style="animation-duration: ${this.timeout}ms" @animationend=${this._onAnimationEnd}></div>
|
||||
<div part="strip" class="strip ${this.active ? 'active' : ''}" style="animation-duration: ${this.timeout}ms" @animationend=${this._onAnimationEnd}></div>
|
||||
`;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user