{"id":24525775,"url":"https://github.com/dilatorily/packery-angular","last_synced_at":"2025-04-14T14:23:52.503Z","repository":{"id":57317828,"uuid":"49169381","full_name":"Dilatorily/packery-angular","owner":"Dilatorily","description":"AngularJS module for Packery","archived":false,"fork":false,"pushed_at":"2017-02-09T15:22:17.000Z","size":624,"stargazers_count":7,"open_issues_count":2,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-11T16:42:32.934Z","etag":null,"topics":["angular","packery"],"latest_commit_sha":null,"homepage":"http://dilatorily.github.io/packery-angular","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Dilatorily.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-01-07T00:02:14.000Z","updated_at":"2021-01-10T19:36:26.000Z","dependencies_parsed_at":"2022-08-25T21:12:18.011Z","dependency_job_id":null,"html_url":"https://github.com/Dilatorily/packery-angular","commit_stats":null,"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Dilatorily%2Fpackery-angular","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Dilatorily%2Fpackery-angular/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Dilatorily%2Fpackery-angular/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Dilatorily%2Fpackery-angular/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Dilatorily","download_url":"https://codeload.github.com/Dilatorily/packery-angular/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248895349,"owners_count":21179230,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["angular","packery"],"created_at":"2025-01-22T05:28:53.678Z","updated_at":"2025-04-14T14:23:52.480Z","avatar_url":"https://github.com/Dilatorily.png","language":"JavaScript","readme":"# packery-angular\n\n[![NPM version](https://img.shields.io/npm/v/packery-angular.svg?style=flat)](https://www.npmjs.com/package/packery-angular)\n[![Build Status](https://travis-ci.org/Dilatorily/packery-angular.svg?style=flat)](https://travis-ci.org/Dilatorily/packery-angular)\n[![Coverage Status](https://coveralls.io/repos/Dilatorily/packery-angular/badge.svg?branch=master\u0026service=github\u0026style=flat)](https://coveralls.io/github/Dilatorily/packery-angular?branch=master)\n[![Dependency Status](https://david-dm.org/Dilatorily/packery-angular.svg?style=flat)](https://david-dm.org/Dilatorily/packery-angular)\n[![devDependency Status](https://david-dm.org/Dilatorily/packery-angular/dev-status.svg?style=flat)](https://david-dm.org/Dilatorily/packery-angular#info=devDependencies)\n\n## Installation\nInstallation is easy since packery-angular has minimal dependencies.\n\n### Requirements\nThis module requires the following libraries to be already installed:\n\n  - `angular@1.5.0`\n  - `draggabilly@2.1.0`\n  - `packery@2.0.0`\n\n### Install using NPM\n\n```bash\n$ npm install packery-angular\n```\n\n### Install using bower\n\n```bash\n$ bower install packery-angular\n```\n\n### Import the necessary files\nAdd the necessary scripts to your HTML page.\n\n```html\n\u003c!DOCTYPE html\u003e\n\u003chtml ng-app=\"app\"\u003e\n    \u003chead\u003e\n        \u003c!-- Include the necessary libraries --\u003e\n        \u003cscript src=\"js/angular.min.js\"\u003e\u003c/script\u003e\n        \u003cscript src=\"js/draggabilly.pkgd.min.js\"\u003e\u003c/script\u003e\n        \u003cscript src=\"js/packery.pkgd.min.js\"\u003e\u003c/script\u003e\n\n        \u003c!-- Include the packery-angular script --\u003e\n        \u003cscript src=\"js/packery-angular.min.js\"\u003e\u003c/script\u003e\n    \u003c/head\u003e\n\u003c/html\u003e\n```\n\n### Inject the module to your project\nWhen all of the dependencies are installed, inject this module to the list of dependencies of your application.\n\n```javascript\nangular.module('app', ['packery-angular']);\n```\n\n## Usage\nThis module exposes a couple of directives to simplify the usage of the [`Packery`](http://packery.metafizzy.co/) instance.\n\n### HTML\n```html\n\u003cpa-packery pa-options=\"options\"\u003e\n    \u003cpa-packery-item class=\"pa-item\"\u003eSample item 1\u003c/pa-packery-item\u003e\n    \u003cpa-packery-item class=\"pa-item\"\u003eSample item 2\u003c/pa-packery-item\u003e\n    \u003cpa-packery-item class=\"pa-item\"\u003eSample item 3\u003c/pa-packery-item\u003e\n\u003c/pa-packery\u003e\n```\n\n### JavaScript\n```javascript\n$scope.options = {\n    columnWidth: 1,\n    dragSelector: '',\n    isAppended: true,\n    isDraggable: true,\n    itemSelector: '.pa-item',\n    rowHeight: 1,\n    stamp: '.pa-stamp'\n};\n```\n\n## [Changelog](CHANGELOG.md)\nPlease check the [CHANGELOG.md](CHANGELOG.md) for the list of changes.\n\n## [Contributing](CONTRIBUTING.md)\nI am open for modifications on this project. Please check the [CONTRIBUTING.md](CONTRIBUTING.md) for the contribution guidelines.\n\n## [License](LICENSE)\nThis repository is open source and distributed under the MIT License.\n\nPackery is a product of Metafizzy LLC and is distributed under a separate license. Please refer to their [website](http://packery.metafizzy.co/) for information on Packery's license.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdilatorily%2Fpackery-angular","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdilatorily%2Fpackery-angular","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdilatorily%2Fpackery-angular/lists"}