MAF.control.SlideCarousel

.

new MAF.control.SlideCarousel()

Example

new MAF.element.Grid({
  visibleCells: 5,
  focusIndex: 3,
  orientation: 'horizontal',
  blockFocus: 'false',
  slideDuration: 0.3,
  opacityOffset: 0,
  cellCreator: function () {
     var cell = new MAF.element.GridCell({
        events: {
           onSelect: function(event) {
              log('Selected', this.getDataItem());
           } 
        }
     });

     cell.text = new MAF.element.Text({
        styles: {
           color: 'white'
        }
     }).appendTo(cell);
     return cell;
  },
  cellUpdater: function (cell, data) {
     cell.text.setText(data.label);
  }
}).appendTo(this);