Merge branch 'main' of github.com:yjs/yjs into main

This commit is contained in:
Kevin Jahns 2020-08-07 17:47:28 +02:00
commit 0c6c11d583

View File

@ -571,6 +571,8 @@ triggers a single change event. <br>You can specify an optional <code>origin</co
parameter that is stored on <code>transaction.origin</code> and
<code>on('update', (update, origin) => ..)</code>.
</dd>
<b><code>toJSON():any</code><b>
<dd>Converts the entire document into a js object, recursively traversing each yjs type.</dd>
<b><code>get(string, Y.[TypeClass]):[Type]</code></b>
<dd>Define a shared type.</dd>
<b><code>getArray(string):Y.Array</code></b>