Skip to content

ViewActionRouter

Overview

Resolves the correct view component for a given model action at runtime, delegating to CRUD views, workflow transition views, or dynamically imported custom action views as appropriate.

Props

NameTypeRequiredDefaultDescription
appstringyesDjango app label that owns the model.
modelstringyesDjango model name whose action should be resolved.
pkstring|number|array""Primary key(s) forwarded to the resolved action view.
actionstringyesName of the action to resolve and render.

Source

client/lib/views/ViewActionRouter.vue

Documents matching: server v3.0.0a1.post1client v3.0.0-alpha.2