ViewModel Overlays

A ViewModel overlay is a mechanism for adding data to a View. Brightspot “overlays” the additional data on top of the Views’ data produced by the ViewModels. The data may be related to the underlying Model producing the View, or it could be used to provide common data across all Views. For example, you can easily add a permalink to all of your project’s pages with a ViewModel overlay. This feature also saves you the effort of possibly extending existing Models or creating a new class hierarchy to add the object to many ViewModels.