@cbpds/web-components
Version:
Web components for the CBP Design System.
25 lines (24 loc) • 690 B
TypeScript
import { EventEmitter } from '../../stencil-public-runtime';
export declare class CbpTable {
private table;
private caption;
private columnHeadings;
private sortableColumns;
host: HTMLElement;
striped: "odd" | "even";
hover: 'row' | 'cell';
columnHover: boolean;
context: 'light-inverts' | 'light-always' | 'dark-inverts' | 'dark-always';
sx: any;
sort: {
columnHeading: HTMLTableCellElement;
direction: string;
};
tableSort: EventEmitter;
addScope(): void;
makeSortable(): void;
doSort(column: number, e?: any): Promise<void>;
componentWillLoad(): void;
componentDidLoad(): void;
render(): any;
}