mirror of
https://github.com/vector-im/hydrogen-web.git
synced 2025-01-11 20:47:18 +01:00
Support onReset and onMove
Signed-off-by: RMidhunSuresh <hi@midhun.dev>
This commit is contained in:
parent
20616f5983
commit
b979e11ef5
@ -59,7 +59,9 @@ export class TimelineViewModel extends ViewModel {
|
|||||||
const subscription = {
|
const subscription = {
|
||||||
onAdd: (idx, tile) => checkForUpdate(idx, tile),
|
onAdd: (idx, tile) => checkForUpdate(idx, tile),
|
||||||
onUpdate: (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);
|
this.tiles.subscribe(subscription);
|
||||||
const gapResult = await gapPromise;
|
const gapResult = await gapPromise;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user