Op with multiple components emitted

25 views
Skip to first unread message

Jimmy NI

unread,
Mar 1, 2017, 3:24:06 AM3/1/17
to ShareJS
Hi everyone, when I op the multiple components, the error occurs. I'm wondering that is there a way to do op with multiple components? 

doc.submitOp([{p: ['a'],od: preValue,oi: insertValue},{p: ['b'],na: -preValue}, {p: ['b'],na: insertValue}]);

Please help here, thanks a lot:)
Reply all
Reply to author
Forward
0 new messages