mirror of
https://github.com/material-components/material-web.git
synced 2024-10-27 14:07:17 +03:00
Use static styles on mwc-snackbar
This commit is contained in:
parent
9293b465ed
commit
3ce096b364
@ -79,12 +79,12 @@ export class Snackbar extends BaseElement {
|
||||
|
||||
protected boundActionHandler = this._actionHandler.bind(this);
|
||||
|
||||
renderStyle() {
|
||||
return style;
|
||||
static get styles() {
|
||||
return [style];
|
||||
}
|
||||
|
||||
render() {
|
||||
return html`${this.renderStyle()}
|
||||
return html`
|
||||
<div class="mdc-snackbar"
|
||||
aria-live="assertive"
|
||||
aria-atomic="true"
|
||||
|
Loading…
Reference in New Issue
Block a user