Skip to content

Commit

Permalink
0.2.4 release
Browse files Browse the repository at this point in the history
  • Loading branch information
winkerVSbecks committed Feb 12, 2015
1 parent 247f965 commit 7c4ca70
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "angular-pdf-viewer",
"version": "0.2.3",
"version": "0.2.4",
"description": "An AngularJS directive to display PDFs",
"main": "./dist/angular-pdf-viewer.min.js",
"license": "MIT",
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "angular-pdf-viewer",
"version": "0.2.3",
"version": "0.2.4",
"author": "Varun Vachhar",
"description": "An AngularJS directive to display PDFs",
"repository": {
Expand Down
7 changes: 4 additions & 3 deletions readme.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Angular PDF Viewer (0.2.3)
# Angular PDF Viewer (0.2.4)

An AngularJS directive to display PDFs. [DEMO](http://codepen.io/winkerVSbecks/full/50010e383d0f80deab97858571400d86/)

Expand Down Expand Up @@ -29,14 +29,15 @@ var app = angular.module('App', ['pdf']);

## Directive

The URL, scale and delegate-handle can be set using the attributes:
The URL, request headers, scale and delegate-handle can be set using the attributes:

``` html
<pdf-viewer
delegate-handle="my-pdf-container"
url="pdfUrl"
scale="1"
show-toolbar="true"></pdf-viewer>
show-toolbar="true"
headers="{ 'x-you-know-whats-awesome': 'EVERYTHING' }"></pdf-viewer>
```


Expand Down

0 comments on commit 7c4ca70

Please sign in to comment.