{"id":15295256,"url":"https://github.com/johnnythetank/angular-xgallerify","last_synced_at":"2025-04-13T15:59:09.812Z","repository":{"id":57179415,"uuid":"47266523","full_name":"JohnnyTheTank/angular-xGallerify","owner":"JohnnyTheTank","description":"AngularJS directive for jquery.xGallerify","archived":false,"fork":false,"pushed_at":"2016-04-23T10:49:15.000Z","size":270,"stargazers_count":7,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-08T22:01:43.493Z","etag":null,"topics":["angular","angularjs","grid","layout","xgallerify"],"latest_commit_sha":null,"homepage":null,"language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"isc","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/JohnnyTheTank.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-12-02T14:32:19.000Z","updated_at":"2016-11-29T02:18:53.000Z","dependencies_parsed_at":"2022-09-06T02:21:51.214Z","dependency_job_id":null,"html_url":"https://github.com/JohnnyTheTank/angular-xGallerify","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JohnnyTheTank%2Fangular-xGallerify","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JohnnyTheTank%2Fangular-xGallerify/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JohnnyTheTank%2Fangular-xGallerify/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JohnnyTheTank%2Fangular-xGallerify/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/JohnnyTheTank","download_url":"https://codeload.github.com/JohnnyTheTank/angular-xGallerify/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248741197,"owners_count":21154252,"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","angularjs","grid","layout","xgallerify"],"created_at":"2024-09-30T17:09:14.978Z","updated_at":"2025-04-13T15:59:09.785Z","avatar_url":"https://github.com/JohnnyTheTank.png","language":"HTML","readme":"# angular-xGallerify\nAngularJS directive for [jquery.xGallerify](https://github.com/xremix/xGallerify)\n\n[![npm version](https://badge.fury.io/js/angular-xgallerify.svg)](https://badge.fury.io/js/angular-xgallerify)\n[![Bower version](https://badge.fury.io/bo/angular-xGallerify.svg)](https://badge.fury.io/bo/angular-xGallerify)\n\n## Demos\n\n![angular-xGallerify Demo](demo.jpg)\n\n- [Simple demo](https://rawgit.com/JohnnyTheTank/angular-xGallerify/master/demo/index.html)\n- [Dynamic demo (pictures from twitter)](https://rawgit.com/JohnnyTheTank/apiNG-design-xgallerify/master/demo/) - based on [apiNG](https://github.com/JohnnyTheTank/apiNG)\n\n## Usage\n\n1. Install via either [bower](http://bower.io/), [npm](https://www.npmjs.com/) or downloaded files:\n    1. via bower: `bower install --save angular-xGallerify`\n    2. via npm: `npm install --save angular-xgallerify`\n    3. via CDN (jsDelivr)\n    4. via [downloaded files](https://github.com/JohnnyTheTank/angular-xGallerify/zipball/master)\n2. Add `jtt_angular_xgallerify` to your application's module dependencies.\n3. Include dependencies and angular-xGallerify in your HTML.\n    1. When using bower\n    ```html\n    \u003c!-- dependencies --\u003e\n    \u003cscript src=\"bower_components/jquery/dist/jquery.min.js\"\u003e\u003c/script\u003e\n    \u003cscript src=\"bower_components/angular/angular.min.js\"\u003e\u003c/script\u003e\n    \u003cscript src=\"bower_components/xGallerify/dist/jquery.xgallerify.min.js\"\u003e\u003c/script\u003e\n\n    \u003c!-- angular-xGallerify --\u003e\n    \u003cscript src=\"bower_components/angular-xGallerify/dist/angular-xgallerify.min.js\"\u003e\u003c/script\u003e\n    ```\n    2. When using npm\n    ```html\n    \u003c!-- dependencies --\u003e\n    \u003cscript src=\"node_modules/jquery/dist/jquery.min.js\"\u003e\u003c/script\u003e\n    \u003cscript src=\"node_modules/angular/angular.min.js\"\u003e\u003c/script\u003e\n    \u003cscript src=\"node_modules/xgallerify/dist/jquery.xgallerify.min.js\"\u003e\u003c/script\u003e\n\n    \u003c!-- angular-xGallerify --\u003e\n    \u003cscript src=\"node_modules/angular-xgallerify/dist/angular-xgallerify.min.js\"\u003e\u003c/script\u003e\n    ```\n    3. When using CDN (jsDelivr)\n    ```html\n    \u003c!-- dependencies --\u003e\n    \u003cscript src=\"//code.jquery.com/jquery-2.1.4.min.js\"\u003e\u003c/script\u003e\n    \u003cscript src=\"//ajax.googleapis.com/ajax/libs/angularjs/1.4.8/angular.min.js\"\u003e\u003c/script\u003e\n    \u003cscript src=\"//cdn.jsdelivr.net/jquery.xgallerify/latest/jquery.xgallerify.min.js\"\u003e\u003c/script\u003e\n\n    \u003c!-- angular-xGallerify --\u003e\n    \u003cscript src=\"//cdn.jsdelivr.net/angular.xgallerify/latest/angular-xgallerify.min.js\"\u003e\u003c/script\u003e\n    ```\n    4. When using downloaded files\n    ```html\n    \u003c!-- dependencies --\u003e\n    \u003cscript src=\"YOUR_PATH/jquery.min.js\"\u003e\u003c/script\u003e\n    \u003cscript src=\"YOUR_PATH/angular.min.js\"\u003e\u003c/script\u003e\n    \u003cscript src=\"YOUR_PATH/jquery.xgallerify.min.js\"\u003e\u003c/script\u003e\n\n    \u003c!-- angular-xGallerify --\u003e\n    \u003cscript src=\"YOUR_PATH/angular-xgallerify.min.js\"\u003e\u003c/script\u003e\n    ```\n4. Use the directive `xgallerify` as **html attribute**\n\n### Sample\n```HTML\n\u003cdiv xgallerify\u003e\n    \u003cimg src=\"http://placehold.it/600x400\"\u003e\n    \u003cimg src=\"http://placehold.it/600x320\"\u003e\n    \u003cimg src=\"http://placehold.it/600x320\"\u003e\n    \u003cimg src=\"http://placehold.it/600x400\"\u003e\n    \u003cimg src=\"http://placehold.it/600x600\"\u003e\n    \u003cimg src=\"http://placehold.it/600x400\"\u003e\n    \u003cimg src=\"http://placehold.it/600x600\"\u003e\n    \u003cimg src=\"http://placehold.it/600x400\"\u003e\n    \u003cimg src=\"http://placehold.it/600x400\"\u003e\n    \u003cimg src=\"http://placehold.it/600x600\"\u003e\n    \u003cimg src=\"http://placehold.it/600x320\"\u003e\n    \u003cimg src=\"http://placehold.it/600x400\"\u003e\n    \u003cimg src=\"http://placehold.it/600x400\"\u003e\n\u003c/div\u003e\n```\n\n### Event\nAngular event to manually re-balance all triggered elements use `angular-xGallerify.refresh`\n\n```javascript\n//dispatches the event upwards through the scope hierarchy\n$scope.$emit('angular-xGallerify.refresh');\n\n//dispatches the event downwards to all child scopes\n$scope.$broadcast('angular-xGallerify.refresh');\n```\n\n### Parameters\nSet your xGallerify parameters like this:\n```HTML\n\u003cdiv xgallerify=\"{ 'margin':10, 'mode':'bootstrap' }\"\u003e\n\u003c/div\u003e\n```\n#### All parameters\nGet the **full list** of parameters at the **original project page: [jquery.xGallerify](https://github.com/xremix/xGallerify#parameters)**\n\n### Compatibility\n```HTML\n\u003cdiv xgallerify\u003e\n\u003c/div\u003e\n```\nis **equal** to\n```HTML\n\u003cdiv data-xgallerify\u003e\n\u003c/div\u003e\n```\n\n## License\nMIT","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjohnnythetank%2Fangular-xgallerify","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjohnnythetank%2Fangular-xgallerify","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjohnnythetank%2Fangular-xgallerify/lists"}