MDrivenStart ViewModelActions
Hans Karlsen (talk | contribs) No edit summary |
Hans Karlsen (talk | contribs) No edit summary |
||
Line 1: | Line 1: | ||
ViewModelActions have the similar functionality as '''[[MDrivenStart ClassActions|class actions]]''' but they act on ONE view rather than on the objects of a class - so you will find no "self" here - instead you gave what its currently focused in the view in variables starting with vCurrent_ and when user has selected multiple items in grids you will find them in vSelected_ collections for the corresponding view model nesting. | ViewModelActions have the similar functionality as '''[[MDrivenStart ClassActions|class actions]]''' but they act on ONE view rather than on the objects of a class - so you will find no "self" here - instead you gave what its currently focused in the view in variables starting with vCurrent_ and when user has selected multiple items in grids you will find them in vSelected_ collections for the corresponding view model nesting. Read more on how [[vCurrent and vSelected]]. | ||
{{Template:MDrivenStart_Template}} | {{Template:MDrivenStart_Template}} |
Revision as of 10:56, 17 July 2020
ViewModelActions have the similar functionality as class actions but they act on ONE view rather than on the objects of a class - so you will find no "self" here - instead you gave what its currently focused in the view in variables starting with vCurrent_ and when user has selected multiple items in grids you will find them in vSelected_ collections for the corresponding view model nesting. Read more on how vCurrent and vSelected.
This page was edited more than 1 years ago on 07/24/2023. What links here