UNPKG

ng-table

Version:

Table + AngularJS ================= [![Build Status](https://travis-ci.org/esvit/ng-table.svg)](https://travis-ci.org/esvit/ng-table) [![Coverage Status](https://coveralls.io/repos/esvit/ng-table/badge.png)](https://coveralls.io/r/esvit/ng-table) [![seman

28 lines (27 loc) 804 B
/// <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; }