123456789101112131415161718192021222324252627282930313233343536373839 |
- import { LitElement } from 'lit';
- import { EventEmitter } from '../../internal/decorators';
- export default class SlButton extends LitElement {
- static styles: import("lit").CSSResult;
- button: HTMLButtonElement | HTMLLinkElement;
- private hasFocus;
- private hasLabel;
- private hasPrefix;
- private hasSuffix;
- type: 'default' | 'primary' | 'success' | 'info' | 'warning' | 'danger' | 'text';
- size: 'small' | 'medium' | 'large';
- caret: boolean;
- disabled: boolean;
- loading: boolean;
- pill: boolean;
- circle: boolean;
- submit: boolean;
- name: string;
- value: string;
- href: string;
- target: '_blank' | '_parent' | '_self' | '_top';
- download: string;
- slBlur: EventEmitter<void>;
- slFocus: EventEmitter<void>;
- connectedCallback(): void;
- click(): void;
- focus(options?: FocusOptions): void;
- blur(): void;
- handleSlotChange(): void;
- handleBlur(): void;
- handleFocus(): void;
- handleClick(event: MouseEvent): void;
- render(): import("lit-html").TemplateResult<1>;
- }
- declare global {
- interface HTMLElementTagNameMap {
- 'sl-button': SlButton;
- }
- }
|