Skip to content

Commit 10d52dd

Browse files
committed
add a note about instance methods
1 parent f46d51b commit 10d52dd

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,13 @@ vm.$firebaseRefs.anArray.push({
5252
})
5353
```
5454

55+
Alternatively, you can also manually bind to a Firebase ref with the `$bindAsObject` or `$bindAsArray` instance methods:
56+
57+
``` js
58+
vm.$bindAsObject('user', myFirebaseRef.child('user'))
59+
vm.$bindAsArray('items', myFirebaseRef.child('items').limitToLast(25))
60+
```
61+
5562
## Data Normalization
5663

5764
### Array Bindings

0 commit comments

Comments
 (0)