JSPM

  • Created
  • Published
  • Downloads 987
  • Score
    100M100P100Q129007F
  • License MIT

Package Exports

  • angular2gridster

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (angular2gridster) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

angular2gridster

Angular 2 implementation of well known Gridster (no jQuery, no external libraries, only Angular2 and Rx.js). Demo.

Example usage

<gridster [options]="gridsterConfig">
    <gridster-item *ngFor="let widget of widgets" [x]="widget.x" [y]="widget.y" [w]="widget.w" [h]="widget.h">
        ...
    </gridster-item>
</gridster>
gridsterConfig:IGridsterOptions = {
    lanes: 5,
    direction: 'vertical',
    dragAndDrop: true
};