@universal-material/web
Version:
Material web components
64 lines • 1.66 kB
TypeScript
import { HTMLTemplateResult } from 'lit';
import { UmRipple } from '../ripple/ripple.js';
import { UmButtonWrapper } from '../shared/button-wrapper.js';
import '../ripple/ripple.js';
import '../elevation/elevation.js';
export declare class UmChip extends UmButtonWrapper {
#private;
static styles: import("lit").CSSResultGroup[];
/**
* Whether the chip is selected or not
*/
selected: boolean;
get clickable(): boolean;
set clickable(value: boolean);
/**
* Adds elevation to the chip
*/
elevated: boolean;
/**
* When true, the chip will toggle between selected and unselected
* states
*/
get toggle(): boolean;
set toggle(value: boolean);
/**
* Add the remove icon
*/
removable: boolean;
/**
* Hide the selected icon
*/
hideSelectedIcon: boolean;
/**
* Whether the chip has a leading icon or not
*
* _Note:_ Readonly
*/
hasLeadingIcon: boolean;
/**
* Whether the chip has a selected icon or not
*
* _Note:_ Readonly
*/
hasSelectedIcon: boolean;
/**
* Whether the chip has a trailing icon or not
*
* _Note:_ Readonly
*/
hasTrailingIcon: boolean;
private readonly assignedLeadingIcons;
private readonly assignedSelectedIcons;
private readonly assignedTrailingIcons;
removeRipple: UmRipple;
connectedCallback(): void;
protected handleClick(event: UIEvent): void;
protected renderContent(): HTMLTemplateResult;
}
declare global {
interface HTMLElementTagNameMap {
'u-chip': UmChip;
}
}
//# sourceMappingURL=chip.d.ts.map