UNPKG

757 BTypeScriptView Raw
1/// <reference types="angular" />
2/**
3 * ngTable: Table + Angular JS
4 *
5 * @author Vitalii Savchuk <esvit666@gmail.com>
6 * @url https://github.com/esvit/ng-table/
7 * @license New BSD License <http://creativecommons.org/licenses/BSD/>
8 */
9import { IDirective, IParseService } from 'angular';
10/**
11 * One-way data binds the $columns array generated by ngTable/ngTableDynamic to the specified
12 * expression.
13 * This allows the $columns array created for the table to be accessed outside of the html table
14 * markup.
15 *
16 * @ngdoc directive
17 *
18 * @example
19 * ```html
20 * <table ng-table="$ctrl.tableParams" class="table" ng-table-columns-binding="$ctlr.tableColumns">
21 * ```
22 */
23export declare function ngTableColumnsBinding<T>($parse: IParseService): IDirective;