ng2-bs-table
Version:
Boostrap table view for angular 2.
15 lines (14 loc) • 473 B
TypeScript
import { Router } from "@angular/router";
import { TableActionInterface } from "./table-action-interface";
/**
* Render link. Route on link.
*/
export declare class TableViewAction implements TableActionInterface {
name: string;
glyphicon: string;
link: [string, any[]];
label: string;
constructor(name: string, label: string, link: [string, any[]], glyphicon: string);
toRoute(router: Router, data: any): void;
visible(data: any): boolean;
}