code: function SlideChangeEvent(fromIndex, toIndex) {
    check(fromIndex, 'fromIndex').is.aNumber();
    check(toIndex, 'toIndex').is.aNumber();
  
    var pub = Object.create(SlideChangeEvent.prototype);
  
    /**
     * Index of previous slide.
     *
     * @type Number
     * @access read-only
     * @fqn SlideChangeEvent.prototype.fromIndex
     */
    pub.fromIndex = fromIndex;
  
    /**
     * Index of current slide.
     *
     * @type Number
     * @access read-only
     * @fqn SlideChangeEvent.prototype.toIndex
     */
    pub.toIndex = toIndex;
  
    return pub;
  }
docs: Creates SlideChangeEvent.
  
  @param {Number} from index of a previous slide
  @param {Number} to index of current slide
  @fqn SlideChangeEvent.prototype.constructor