# angular-gm-trip

> Angular Trip.js wrapper

Latest version **0.1.1** (published 2016-06-14) · 0 weekly downloads

## Install

```sh
npm install angular-gm-trip
pnpm add angular-gm-trip
yarn add angular-gm-trip
bun add angular-gm-trip
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.1.1 |
| Published | 2016-06-14 |
| First published | 2016-06-14 |
| Weekly downloads | 0 |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Emil Ibatullin |
| Maintainers | cawabunga |
| Keywords | angular, trip.js |

## Links

- npm: https://www.npmjs.com/package/angular-gm-trip
- Repository: https://github.com/cawabunga/angular-gm-trip
- Homepage: https://github.com/cawabunga/angular-gm-trip#readme
- Issues: https://github.com/cawabunga/angular-gm-trip/issues
- npm.io page: https://npm.io/package/angular-gm-trip

## Dependencies (1)

- [trip.js](https://npm.io/package/trip.js.md) 3.1.5

## Recent versions

- 0.1.1 (latest) — 2016-06-14
- 0.1.0 — 2016-06-14

## README

Angular wrapper for [Trip.js](https://github.com/EragonJ/Trip.js)
===

Example:
```
ng.controller('MyController', function ($trip, $log) {

    const setupTrip = () => {
        return $trip.$new(
            // blocks
            [
                {
                    sel: '#someId',
                    content: 'Hello',
                    position: $trip.PositionEnum.Bottom
                },
                {
                    sel: '#anotherId',
                    content: 'World',
                    position: $trip.PositionEnum.Top
                }
            ],
            // options
            {
                onEnd: () => {
                    $log.info('trip is ended');
                }
            }
        );
    };

    this.$onInit = () => {
        const trip = setupTrip();
        trip.start();
    });

});
```

License
====
MIT

---
_Source: https://npm.io/package/angular-gm-trip · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
