@umbraco-ui/uui-table
Version:
A basic loader element
43 lines (42 loc) • 1.39 kB
TypeScript
import { LitElement } from 'lit';
/**
* Table cell that detects if it has overflow and if so it'll add a title attribute to itself to display full text. Must be a child of uui-table-row
* @element uui-table-cell
* @slot - slot for table cell content
* @cssprop --uui-table-cell-padding - overwrite the table cell padding
* @cssprop --uui-table-cell-height - overwrite the table cell height
*/
export declare class UUITableCellElement extends LitElement {
/**
* Used to enforce selection interaction by preventing other interactions, primary set by table-row for select-only mode.
* @attr
* @type boolean
*/
disableChildInteraction: boolean;
/**
* Remove padding in order to have element going to the edge of the cell.
* @type {boolean}
* @attr
* @default false
*/
noPadding: boolean;
/**
* Enable overflow ellipsis
* @type {boolean}
* @attr
* @default false
*/
clipText: boolean;
private _observer;
private _detectOverflow;
connectedCallback(): void;
disconnectedCallback(): void;
updated(changedProperties: Map<string | number | symbol, unknown>): void;
render(): import("lit-html").TemplateResult<1>;
static styles: import("lit").CSSResult[];
}
declare global {
interface HTMLElementTagNameMap {
'uui-table-cell': UUITableCellElement;
}
}