code: function () {
      this.setProperties({
        first  : this.source.length ? this.source[0] : void 0,
        length : this.source.length,
        empty  : !this.source.length,
        last   : this.source.length ? this.source[this.source.length - 1] : void 0
      });
    }
docs: /*