carbon-custom-elements
Version:
A Carbon Design System variant that's as easy to use as native HTML elements, with no framework tax, no framework silo.
69 lines (67 loc) • 1.31 kB
TypeScript
/**
* @license
*
* Copyright IBM Corp. 2019, 2020
*
* This source code is licensed under the Apache-2.0 license found in the
* LICENSE file in the root directory of this source tree.
*/
import { LitElement } from 'lit-element';
/**
* Table color scheme.
*/
export declare enum TABLE_COLOR_SCHEME {
/**
* Regular color scheme.
*/
REGULAR = "",
/**
* Color scheme with zebra stripe.
*/
ZEBRA = "zebra"
}
/**
* Table size.
*/
export declare enum TABLE_SIZE {
/**
* Compact size.
*/
COMPACT = "compact",
/**
* Short size.
*/
SHORT = "short",
/**
* Regular size.
*/
REGULAR = "",
/**
* Tall size.
*/
TALL = "tall"
}
/**
* Data table.
* @element bx-table
*/
declare class BXTable extends LitElement {
/**
* The table size.
*/
size: TABLE_SIZE;
/**
* `true` if this table should support sorting.
*/
sort: boolean;
connectedCallback(): void;
updated(changedProperties: any): void;
render(): import("lit-element").TemplateResult;
/**
* The CSS selector to find the rows, including header rows.
*/
static get selectorRowsWithHeader(): string;
static styles: any;
}
export default BXTable;
//# sourceMappingURL=table.d.ts.map