Modules: app/actions/entities/entityViewActions

All functions in this module are action creators and the return value should be passed to the redux store dispatch() function.

Source:

Methods


setEntityViewRef(targetView, ref)

Updates the reference to which entity is currently visible in the entityViewReducer.

Parameters:
Name Type Description
targetView string

The location in the state tree of the entityViewReducer to update. For example: 'view.pages.home.featuredArticle'

ref object

A reference to an entity

Properties
Name Type Description
type string

The type of entity

id string

The id of the entity

Source: