forked from mystiq/hydrogen-web
clarify
This commit is contained in:
parent
ef6f10c5a2
commit
15dfb6c202
1 changed files with 1 additions and 1 deletions
|
@ -6,4 +6,4 @@ InviteViewModel and RoomViewModel are interchangebly used as "room view model":
|
||||||
|
|
||||||
This is because they are accessed by the same url and need to transition into each other, in these two locations. Having two methods, especially in RoomGridViewModel would have been more cumbersome, even though this is not in line with how different view models are exposed in SessionViewModel.
|
This is because they are accessed by the same url and need to transition into each other, in these two locations. Having two methods, especially in RoomGridViewModel would have been more cumbersome, even though this is not in line with how different view models are exposed in SessionViewModel.
|
||||||
|
|
||||||
They share an `id` and `kind` property, the latter can be used to differentiate them from the view.
|
They share an `id` and `kind` property, the latter can be used to differentiate them from the view, and a `focus` method.
|
||||||
|
|
Loading…
Reference in a new issue