Skip to main content

PlexusController

view on npm

Plexus Controller can be used to create a controller for a module within your plexus core. Pass an object that can be many layers deep. Each key is the name of a plexus item (state, action, etc) and the value is the instance of the item.

.create(data)

Intake data, get the object id's, link them to the name, assign the names to the instance in the key's value, and save the mapping to the controller

Param
data