diff --git a/types/dc/index.d.ts b/types/dc/index.d.ts index 62fbd8330c..69ee20a93e 100644 --- a/types/dc/index.d.ts +++ b/types/dc/index.d.ts @@ -417,6 +417,16 @@ declare namespace dc { tickFormat: IGetSet, BoxPlot>; } + // https://github.com/dc-js/dc.js/blob/master/src/select-menu.js + export interface SelectMenu extends BaseMixin { + order: IGetSet<(a: any, b: any) => number, SelectMenu>; + promptText: IGetSet; + filterDisplayed: IGetSet<(a: {value: any, key: any}, index: number) => boolean, SelectMenu>; + multiple: IGetSet; + promptValue: IGetSet; + numberVisible: IGetSet; + } + export interface ChartRegistry { has(chart: BaseMixin): boolean; register(chart: BaseMixin, group?: string): void; @@ -472,5 +482,6 @@ declare namespace dc { numberDisplay(parent: string, chartGroup?: string): NumberDisplayWidget; heatMap(parent: string, chartGroup?: string): HeatMap; boxPlot(parent: string, chartGroup?: string): BoxPlot; + selectMenu(parent: string, chartGroup?: string): SelectMenu; } } \ No newline at end of file