Skip to content

Fetching component view from Adapt object #2073

Description

@oliverfoster

Subject of the issue

There is currently no uniform way of fetching a component view from the Adapt.componentStore as the format is mixed between ViewModel instances and { view: View, model: Model } instances.

Steps to reproduce

Adapt.componentStore.hotgraphic.view || Adapt.componentStore.hotgraphic

Expected behaviour

Adapt.getViewClass('hotgraphic') === View || ViewModel

Metadata

Metadata

Assignees

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions