contribs/gmf/src/layertree/timeSliderComponent.js
function Controller(ngeoWMSTime) {

  /**
   * @type {import("ngeo/misc/WMSTime.js").WMSTime}
   * @private
   */
  this.ngeoWMSTime_ = ngeoWMSTime;

  /**
   * Function called after date(s) changed/selected
   * @type {Function}
   */
  this.onDateSelected = () => undefined;


  /**
   * A time object for directive initialization
   * @type {?import('ngeo/datasource/OGC.js').TimeProperty}
   */
  this.time = null;

  /**
   * If the component is used to select a date range
   * @type {boolean}
   */
  this.isModeRange = false;

  /**
   * Minimal value of the slider (time in ms)
   * @type {number}
   */
  this.minValue = -1;

  /**
   * Maximal value of the slider (time in ms)
   * @type {number}
   */
  this.maxValue = 999999;

  /**
   * Used when WMS time object has a property 'values' instead of an interval
   * @type {?Array<number>}
   */
  this.timeValueList = null;

  /**
   * Default Slider options (used by ui-slider directive)
   * @type {?{
   *  range : boolean,
   *  min : number,
   *  max : number
   * }}
   */
  this.sliderOptions = null;

  /**
   * Model for the ui-slider directive (date in ms format)
   * @type {Array<number>|number}
   */
  this.dates = [];
}
function Controller(ngeoWMSTime) {

  /**
   * @type {import("ngeo/misc/WMSTime.js").WMSTime}
   * @private
   */
  this.ngeoWMSTime_ = ngeoWMSTime;

  /**
   * Function called after date(s) changed/selected
   * @type {Function}
   */
  this.onDateSelected = () => undefined;


  /**
   * A time object for directive initialization
   * @type {?import('ngeo/datasource/OGC.js').TimeProperty}
   */
  this.time = null;

  /**
   * If the component is used to select a date range
   * @type {boolean}
   */
  this.isModeRange = false;

  /**
   * Minimal value of the slider (time in ms)
   * @type {number}
   */
  this.minValue = -1;

  /**
   * Maximal value of the slider (time in ms)
   * @type {number}
   */
  this.maxValue = 999999;

  /**
   * Used when WMS time object has a property 'values' instead of an interval
   * @type {?Array<number>}
   */
  this.timeValueList = null;

  /**
   * Default Slider options (used by ui-slider directive)
   * @type {?{
   *  range : boolean,
   *  min : number,
   *  max : number
   * }}
   */
  this.sliderOptions = null;

  /**
   * Model for the ui-slider directive (date in ms format)
   * @type {Array<number>|number}
   */
  this.dates = [];
}
function Controller ( ngeoWMSTime ) { /**
   * @type {import("ngeo/misc/WMSTime.js").WMSTime}
   * @private
   */ this . ngeoWMSTime_ = ngeoWMSTime ; /**
   * Function called after date(s) changed/selected
   * @type {Function}
   */ this . onDateSelected = ( ) => undefined ; /**
   * A time object for directive initialization
   * @type {?import('ngeo/datasource/OGC.js').TimeProperty}
   */ this . time = null ; /**
   * If the component is used to select a date range
   * @type {boolean}
   */ this . isModeRange = false ; /**
   * Minimal value of the slider (time in ms)
   * @type {number}
   */ this . minValue = - 1 ; /**
   * Maximal value of the slider (time in ms)
   * @type {number}
   */ this . maxValue = 999999 ; /**
   * Used when WMS time object has a property 'values' instead of an interval
   * @type {?Array<number>}
   */ this . timeValueList = null ; /**
   * Default Slider options (used by ui-slider directive)
   * @type {?{
   *  range : boolean,
   *  min : number,
   *  max : number
   * }}
   */ this . sliderOptions = null ; /**
   * Model for the ui-slider directive (date in ms format)
   * @type {Array<number>|number}
   */ this . dates = [ ] ; }
TimeSliderController - directive controller
@param {import("ngeo/misc/WMSTime.js").WMSTime} ngeoWMSTime WMSTime service.
@constructor
@private
@hidden
@ngInject
@ngdoc controller
@ngname gmfTimeSliderController
TimeSliderController - directive controller