UNPKG

igniteui-webcomponents

Version:

Ignite UI for Web Components is a complete library of UI components, giving you the ability to build modern web applications using encapsulation and the concept of reusable components in a dependency-free approach.

32 lines (31 loc) 1.12 kB
import { IgcButtonBaseComponent } from './button-base.js'; /** * Represents a clickable button, used to submit forms or anywhere in a * document for accessible, standard button functionality. * * @element igc-button * * @slot - Renders the label of the button. * @slot prefix - Renders content before the label of the button. * @slot suffix - Renders content after the label of the button. * * @csspart base - The native button element of the igc-button component. * @csspart prefix - The prefix container of the igc-button component. * @csspart suffix - The suffix container of the igc-button component. */ export default class IgcButtonComponent extends IgcButtonBaseComponent { static readonly tagName = "igc-button"; protected static styles: import("lit").CSSResult[]; static register(): void; /** * Sets the variant of the button. * @attr */ variant: 'flat' | 'contained' | 'outlined' | 'fab'; protected renderContent(): import("lit-html").TemplateResult<1>; } declare global { interface HTMLElementTagNameMap { 'igc-button': IgcButtonComponent; } }