Support onReset and onMove
Signed-off-by: RMidhunSuresh <hi@midhun.dev>
This commit is contained in:
parent
20616f5983
commit
b979e11ef5
1 changed files with 3 additions and 1 deletions
|
@ -59,7 +59,9 @@ export class TimelineViewModel extends ViewModel {
|
|||
const subscription = {
|
||||
onAdd: (idx, tile) => checkForUpdate(idx, tile),
|
||||
onUpdate: (idx, tile) => checkForUpdate(idx, tile),
|
||||
onRemove: (idx, tile) => checkForUpdate(idx, tile)
|
||||
onRemove: (idx, tile) => checkForUpdate(idx, tile),
|
||||
onMove: (idx, tile) => checkForUpdate(idx, tile),
|
||||
onReset: (idx, tile) => checkForUpdate(idx, tile)
|
||||
};
|
||||
this.tiles.subscribe(subscription);
|
||||
const gapResult = await gapPromise;
|
||||
|
|
Reference in a new issue