We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 86cc304 commit ca23d95Copy full SHA for ca23d95
README.md
@@ -50,6 +50,7 @@ var ylist = new Y.List()
50
* .ref(position)
51
* Retrieve a reference to the element on a *position*.
52
* You can call `ref.getNext()` and `ref.getPrev()` to get the next/previous reference
53
+ * You can call `ref.getNext(i)` and `ref.getPrev(i)` to get the i-th next/previous reference
54
* You can call `ref.val()` to get the element, to which the reference points (`y.ref(1).val() === y.val(1)`)
55
* .observe(f)
56
* The observer is called whenever something on this list changed. (throws insert, and delete events)
build/test/list-test.js
0 commit comments