Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fetching component view from Adapt object #2073

Closed
oliverfoster opened this issue May 22, 2018 · 0 comments
Closed

Fetching component view from Adapt object #2073

oliverfoster opened this issue May 22, 2018 · 0 comments
Assignees

Comments

@oliverfoster
Copy link
Member

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants