# angular-transit

> Simple transitions for your Angular application using jQuery transitions

Latest version **1.0.5** (published 2015-12-16) · MIT license · 0 weekly downloads

## Install

```sh
npm install angular-transit
pnpm add angular-transit
yarn add angular-transit
bun add angular-transit
```

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.5 |
| Published | 2015-12-16 |
| First published | 2015-12-16 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Chris Cates |
| Maintainers | chriscates |
| Keywords | Angular, Transit, Transitions |

## Links

- npm: https://www.npmjs.com/package/angular-transit
- Repository: https://chris-cates@github.com/PilotInteractive/Angular-Transit
- Homepage: https://github.com/PilotInteractive/Angular-Transit#readme
- Issues: https://github.com/PilotInteractive/Angular-Transit/issues
- npm.io page: https://npm.io/package/angular-transit

## Recent versions

- 1.0.5 (latest) — 2015-12-16
- 1.0.4 — 2015-12-16
- 1.0.3 — 2015-12-16
- 1.0.2 — 2015-12-16
- 1.0.1 — 2015-12-16
- 1.0.0 — 2015-12-16

## README

# Angular Transit

## Simple transitions for your Angular application using jQuery transitions

**You must have jQuery included before using this application.**

**For Browserify and Webpack users, you will need to bind the jQuery npm module to the window by doing:**

``` javascript
window.$ = require('jquery');
```

## Usage

### Directive - `fade`

You can have a `$scope` attribute as an attribute variable for `fadeIn()` or `fadeOut()` an element.

Example usage (assuming you are using `$scope` or `$rootScope` variables):

``` html
<!-- Default Fade in -->
<el fade="true"></el>
<!-- Default Fade out -->
<el fade="false"></el>
<!-- Fade in two seconds -->
<el fade="true ms:2000"></el>
<!-- Fade out two seconds -->
<el fade="false ms:2000"></el>
<!-- Fade in three seconds with one second delay -->
<el fade="true ms:3000 delay:1000"></el>
```

### Directive - `slide`

You can have a `$scope` attribute as an attribute variable for `slideDown()` or `slideUp()` an element.

Example usage (assuming you are using `$scope` or `$rootScope` variables):

``` html
<!-- Default Slide in -->
<el slide="true"></el>
<!-- Default Slide out -->
<el slide="false"></el>
<!-- Slide in two seconds -->
<el slide="true ms:2000"></el>
<!-- Slide out two seconds -->
<el slide="false ms:2000"></el>
<!-- Slide in three seconds with one second delay -->
<el slide="true ms:3000 delay:1000"></el>
```

### Thanks for checking Angular Transit out!

We are open to changes to the package at anytime whatsoever. So if you'd like to contribute or have suggestions, please email chris@pilotinteractive.ca

Maintained by [Chris Cates](https://github.com/Chris-Cates) and [Pilot Interactive](http://pilotinteractive.ca/).

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