Skip to content

Commit

Permalink
More README updates
Browse files Browse the repository at this point in the history
  • Loading branch information
scttnlsn committed Oct 27, 2012
1 parent e16ff2c commit 4abfad8
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions README.md
Expand Up @@ -67,10 +67,13 @@ Views that are managed by the selector will be able to access the selector via `

### `new Backbone.ViewKit.ViewSelector([options])`

When creating a new view selector, optionally initialize it with an array of views.
When creating a new view selector, optionally initialize it with an array of views and/or a default transition.

```javascript
new Backbone.ViewKit.ViewSelector({ views: [foo, bar, baz] });
new Backbone.ViewKit.ViewSelector({
views: [foo, bar, baz],
transition: new Backbone.ViewKit.Transitions.Fade()
});
```

### `setViews(views)`
Expand Down

0 comments on commit 4abfad8

Please sign in to comment.