@universal-material/web
Version:
Material web components
39 lines • 1.27 kB
TypeScript
import { CSSResultGroup } from '@lit/reactive-element/css-tag';
import { HTMLTemplateResult, LitElement } from 'lit';
import '../elevation/elevation.js';
import '../ripple/ripple.js';
export declare abstract class UmButtonWrapper extends LitElement {
static styles: CSSResultGroup;
/**
* Whether the button is disabled or not.
*/
disabled: boolean;
renderRipple: boolean;
/**
* The URL that the link button points to.
*/
href: string | undefined;
/**
* Where to display the linked `href` URL for a link button. Common options
* include `_blank` to open in a new tab.
*/
target: string | undefined;
name: string | undefined;
readonly buttonElement: HTMLElement;
private readonly ripple;
protected innerRole: string | null;
get pathname(): string;
protected render(): HTMLTemplateResult;
private renderButton;
private renderLink;
protected abstract renderContent(): HTMLTemplateResult;
connectedCallback(): void;
disconnectedCallback(): void;
focus(): void;
blur(): void;
protected getAriaLabel(): string | null;
private innerFocusHandler;
protected handleClick(_: UIEvent): void;
}
//# sourceMappingURL=button-wrapper.d.ts.map