ng-table
Version:
Table + AngularJS ================= [](https://travis-ci.org/esvit/ng-table) [](https://coveralls.io/r/esvit/ng-table) [![seman
28 lines (27 loc) • 804 B
TypeScript
/// <reference types="angular" />
/**
* ngTable: Table + Angular JS
*
* @author Vitalii Savchuk <esvit666@gmail.com>
* @url https://github.com/esvit/ng-table/
* @license New BSD License <http://creativecommons.org/licenses/BSD/>
*/
import { IAngularEvent } from 'angular';
import { IColumnDef } from './public-interfaces';
import { ITableScope } from './ngTableController';
/**
* @private
*/
export interface IAugmentedMouseEvent extends IAngularEvent {
ctrlKey: boolean;
metaKey: boolean;
}
/**
* Controller for the {@link ngTableSorterRow ngTableSorterRow} directive
*/
export declare class NgTableSorterRowController<T> {
private $scope;
static $inject: string[];
constructor($scope: ITableScope<T>);
sortBy($column: IColumnDef, event: IAugmentedMouseEvent): void;
}