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

https://github.com/maximnara/jiwer

AngularJs (+ ionic) mobile friendly image viewer
https://github.com/maximnara/jiwer

Last synced: 7 months ago
JSON representation

AngularJs (+ ionic) mobile friendly image viewer

Awesome Lists containing this project

README

        

AngularJs / Ionic Image Viewer
===========

Gallery, carousel, image viewer module for Angular JS, can be used with Ionic. Touch devices supported.
[**Simple Demo**](http://maximnara.github.io/jiwer/example-simple.html) and [**Ionic Demo**](http://maximnara.github.io/jiwer/example-ionic.html)
---
### Usage:

- Add `angular` and `ngImageViewer` to your code:

```html

```

- Add a dependency to the `ngImageViewer` module in your application.

```js
angular.module('app', ['ngImageViewer']);
```

- Add attribute directives to your html:

```html




```
** Parameters **
* `imgs` array of urls (required)
* `current` index of image thal will be shown (optional, defaults to 0)

**Ionic usage:**
You need just create modal and insert:
```html


```

## Pull requests
We welcome pull requests but please check that all the examples still work if you modified the source base. There have been serveral PRs recently that broke core functionality. If you are feeling really keen you could include some protractor test cases in your PR.