From 8d5f23b3b83e91beb5b168c3ad5baa6d746d4ee5 Mon Sep 17 00:00:00 2001 From: Dasa Paddock Date: Thu, 27 Sep 2018 15:54:25 -0700 Subject: [PATCH] Update for ArcGIS API for JavaScript version 3.26 --- types/arcgis-js-api/v3/index.d.ts | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/types/arcgis-js-api/v3/index.d.ts b/types/arcgis-js-api/v3/index.d.ts index 5ce4cfa06c..a42c651068 100644 --- a/types/arcgis-js-api/v3/index.d.ts +++ b/types/arcgis-js-api/v3/index.d.ts @@ -1,4 +1,4 @@ -// Type definitions for ArcGIS API for JavaScript 3.25 +// Type definitions for ArcGIS API for JavaScript 3.26 // Project: https://developers.arcgis.com/javascript/3/ // Definitions by: Esri // Bjorn Svensson @@ -1897,6 +1897,8 @@ declare module "esri" { export interface ReportPlayerOptions { /** Indicates whether left and right arrows key can be used to paginate when viewMode is set to PlayerViewModes.PANELS_IN_SLIDES. */ allowKeyboardNavigation?: boolean; + /** As of version 3.26 Configuration to specify the location of the JavaScript API to use when exporting an Infographic to Dynamic HTML. */ + config?: any; /** Specifies which export options are available for the report. */ dataProvider?: DataProviderGE; /** Specifies how the ReportPlayer should zoom by default. */ @@ -3506,7 +3508,7 @@ declare module "esri/dijit/Attribution" { /** * Creates a new Attribution object. * @param options An object that defines the attribution options. - * @param srcNodeRef HTML element where the time slider should be rendered. + * @param srcNodeRef HTML element where the attribution widget should be rendered. */ constructor(options: esri.AttributionOptions, srcNodeRef: Node | string); /** Destroy the attribution widget. */ @@ -7584,6 +7586,8 @@ declare module "esri/dijit/geoenrichment/ReportPlayer/ReportPlayer" { class ReportPlayer { /** Indicates whether left and right arrows key can be used to paginate when viewMode is set to PlayerViewModes.PANELS_IN_SLIDES. */ allowKeyboardNavigation: boolean; + /** Configuration to specify the location of the JavaScript API to use when exporting an Infographic to Dynamic HTML. */ + config: any; /** Data Provider for the ReportPlayer which allows you to specify which export options are available when running the report. */ dataProvider: DataProviderGE; /** Specifies how the ReportPlayer should zoom by default. */ @@ -7607,7 +7611,7 @@ declare module "esri/dijit/geoenrichment/ReportPlayer/ReportPlayer" { * @param params Various parameters that can be used to configure the ReportPlayer. * @param srcNode Reference or id of the HTML element where the widget should be rendered. */ - constructor(params: esri.ReportPlayerOptions, srcNode?: Node | string); + constructor(params?: esri.ReportPlayerOptions, srcNode?: Node | string); /** * Generates the report for the supplied parameters. * @param dataProviderParams See the object specifications table below for the structure of the dataProviderParams object.