Skip to content

Commit

Permalink
docs(SidebarJS): component api
Browse files Browse the repository at this point in the history
  • Loading branch information
lorenzodianni committed Mar 13, 2018
1 parent 43e5e19 commit 24daf48
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ import ngSidebarJS from 'angular-sidebarjs';
## Options
```html
<sidebarjs
// Optional | required only for multiple sidebarjs
// Optional | Required only for multiple sidebarjs
sidebarjs-name="mainSidebarJS"

// Optional
Expand All @@ -50,13 +50,13 @@ import ngSidebarJS from 'angular-sidebarjs';
}"

// Optional | Function called after sidebar is open
on-close="app.onSidebarClose()"
on-close="$ctrl.onSidebarClose()"

// Optional | Function called after sidebar is close
on-open="app.onSidebarOpen()"
on-open="$ctrl.onSidebarOpen()"

// Optional | Function called when sidebar change visibility
on-change-visibility="app.onSidebarChangeVisibility($event)">
on-change-visibility="$ctrl.onSidebarChangeVisibility($event)">
</sidebarjs>
```

Expand Down

0 comments on commit 24daf48

Please sign in to comment.