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.
45 lines (43 loc) • 1.34 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 batch actions.
* @element bx-table-batch-actions
* @fires bx-table-batch-actions-cancel-clicked - The custom event fired after the Cancel button is clicked.
*/
declare class BXTableBatchActions extends LitElement {
/**
* Handles `click` event on the Cancel button.
*/
private _handleCancel;
/**
* `true` if this batch actions bar should be active.
*/
active: boolean;
/**
* The formatter for selected items. Should be changed upon the locale the UI is rendered with.
*/
formatSelectedItemsCount: ({ count }: {
count: any;
}) => string;
/**
* Numeric representation of the total number of items selected in a table.
* This number is used to derive the selection message.
*/
selectedRowsCount: number;
render(): import("lit-element").TemplateResult;
/**
* The name of the custom event fired after the Cancel button is clicked.
*/
static get eventClickCancel(): string;
static styles: any;
}
export default BXTableBatchActions;
//# sourceMappingURL=table-batch-actions.d.ts.map