docs: function fade(progress) {
    var to = (this.options.to !== undefined) ? this.options.to : 0;
    var from = (this.options.from !== undefined) ? this.options.from : 1;
    var opacity = (to - from) * progress + from;
  
    this.element.style.opacity = opacity;
  }