Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,18 @@ postman.warn|error|info|success(parcelTitle, parcelBody);

Each of these functions return a promise a la Angular's `$q`. If the `parcel` is clicked by the user, that promise will resolve.

## Configuration

* **setTimeout(duration)**: display duration in ms for the parcels (default is 6000).

```js
angular.module('DemoApp', ['Postman', 'ngAnimate'])

.config(['postmanSettingsProvider', function(postmanSettingsProvider) {
postmanSettingsProvider.setTimeout(4500);
}]);
```

## Demo

Very basic demo: [http://cwspear.github.io/angular-postman/](http://cwspear.github.io/angular-postman/). More advanced usage demo coming soon-ish.
Expand Down