mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-09-07 16:30:12 +08:00
Actually use the options object in 'backgrid'.
This commit is contained in:
Vendored
+6
-4
@@ -10,10 +10,10 @@ declare module Backgrid {
|
||||
interface GridOptions {
|
||||
columns: Column[];
|
||||
collection: Backbone.Collection<Backbone.Model>;
|
||||
header: Header;
|
||||
body: Body;
|
||||
row: Row;
|
||||
footer: Footer;
|
||||
header?: Header;
|
||||
body?: Body;
|
||||
row?: Row;
|
||||
footer?: Footer;
|
||||
}
|
||||
|
||||
class Header extends Backbone.View<Backbone.Model> {
|
||||
@@ -109,6 +109,8 @@ declare module Backgrid {
|
||||
header: any;
|
||||
tagName: string;
|
||||
|
||||
constructor(options: GridOptions);
|
||||
|
||||
initialize(options: any);
|
||||
getSelectedModels(): Backbone.Model[];
|
||||
insertColumn(...options: any[]): Grid;
|
||||
|
||||
Reference in New Issue
Block a user