An open API service indexing awesome lists of open source software.

https://github.com/johnnythetank/angular-xgallerify

AngularJS directive for jquery.xGallerify
https://github.com/johnnythetank/angular-xgallerify

angular angularjs grid layout xgallerify

Last synced: 12 months ago
JSON representation

AngularJS directive for jquery.xGallerify

Awesome Lists containing this project

README

          

# angular-xGallerify
AngularJS directive for [jquery.xGallerify](https://github.com/xremix/xGallerify)

[![npm version](https://badge.fury.io/js/angular-xgallerify.svg)](https://badge.fury.io/js/angular-xgallerify)
[![Bower version](https://badge.fury.io/bo/angular-xGallerify.svg)](https://badge.fury.io/bo/angular-xGallerify)

## Demos

![angular-xGallerify Demo](demo.jpg)

- [Simple demo](https://rawgit.com/JohnnyTheTank/angular-xGallerify/master/demo/index.html)
- [Dynamic demo (pictures from twitter)](https://rawgit.com/JohnnyTheTank/apiNG-design-xgallerify/master/demo/) - based on [apiNG](https://github.com/JohnnyTheTank/apiNG)

## Usage

1. Install via either [bower](http://bower.io/), [npm](https://www.npmjs.com/) or downloaded files:
1. via bower: `bower install --save angular-xGallerify`
2. via npm: `npm install --save angular-xgallerify`
3. via CDN (jsDelivr)
4. via [downloaded files](https://github.com/JohnnyTheTank/angular-xGallerify/zipball/master)
2. Add `jtt_angular_xgallerify` to your application's module dependencies.
3. Include dependencies and angular-xGallerify in your HTML.
1. When using bower
```html





```
2. When using npm
```html





```
3. When using CDN (jsDelivr)
```html





```
4. When using downloaded files
```html





```
4. Use the directive `xgallerify` as **html attribute**

### Sample
```HTML
















```

### Event
Angular event to manually re-balance all triggered elements use `angular-xGallerify.refresh`

```javascript
//dispatches the event upwards through the scope hierarchy
$scope.$emit('angular-xGallerify.refresh');

//dispatches the event downwards to all child scopes
$scope.$broadcast('angular-xGallerify.refresh');
```

### Parameters
Set your xGallerify parameters like this:
```HTML



```
#### All parameters
Get the **full list** of parameters at the **original project page: [jquery.xGallerify](https://github.com/xremix/xGallerify#parameters)**

### Compatibility
```HTML



```
is **equal** to
```HTML


```

## License
MIT