material-web/button/internal/filled-button.ts
Elliott Marquez b74e3dd2e3 fix(elevation): expose md-elevation ::part in all components
PiperOrigin-RevId: 612946796
2024-03-05 13:18:05 -08:00

21 lines
395 B
TypeScript

/**
* @license
* Copyright 2021 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/
import '../../elevation/elevation.js';
import {html} from 'lit';
import {Button} from './button.js';
/**
* A filled button component.
*/
export class FilledButton extends Button {
protected override renderElevationOrOutline() {
return html`<md-elevation part="elevation"></md-elevation>`;
}
}