packery-angular
Installation
Installation is easy since packery-angular has minimal dependencies.
Requirements
This module requires the following libraries to be already installed:
angular@1.5.0
draggabilly@2.1.0
packery@2.0.0
Install using NPM
$ npm install packery-angular
Install using bower
$ bower install packery-angular
Import the necessary files
Add the necessary scripts to your HTML page.
<!-- Include the necessary libraries --> <!-- Include the packery-angular script -->
Inject the module to your project
When all of the dependencies are installed, inject this module to the list of dependencies of your application.
angular;
Usage
This module exposes a couple of directives to simplify the usage of the Packery
instance.
HTML
Sample item 1 Sample item 2 Sample item 3
JavaScript
$scopeoptions = columnWidth: 1 dragSelector: '' isAppended: true isDraggable: true itemSelector: '.pa-item' rowHeight: 1 stamp: '.pa-stamp';
Changelog
Please check the CHANGELOG.md for the list of changes.
Contributing
I am open for modifications on this project. Please check the CONTRIBUTING.md for the contribution guidelines.
License
This repository is open source and distributed under the MIT License.
Packery is a product of Metafizzy LLC and is distributed under a separate license. Please refer to their website for information on Packery's license.