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

Durandal integration? #339

Closed
gordon-matt opened this issue Jun 30, 2017 · 2 comments
Closed

Durandal integration? #339

gordon-matt opened this issue Jun 30, 2017 · 2 comments
Labels

Comments

@gordon-matt
Copy link
Contributor

Could we have an example of how to integrate this into Durandal? Since Durandal is mostly KnockoutJS, I suppose in theory it shouldn't be too hard, but I'm not sure how to proceed.

@bago
Copy link
Member

bago commented Jun 30, 2017

What kind of integration do you expect? Mosaico usually runs in its own windows/frame as it needs a lot of "visual space" and you usually don't need to integrate other frameworks as it simply make it more complex.

Btw, Mosaico just want libraries to be included, some basic html markup in the page and Mosaico.init/Mosaico.start to be called. "disposal code" has been written but maybe not exposed in the default build and really never tested. So if you want to run/dispose/run/dispose mosaico without leaving this to the iframe/window management, you'll probably have to deal with few bugs related to this "untested" use case. I don't see a real use case for not relying on the browser given mosaico is a "full tool" not a simple widget, so we didn't spend time on that.

@bago bago added the question label Jun 30, 2017
@gordon-matt
Copy link
Contributor Author

Yes, I guessed that would be the case. I was just curious whether it could be done, since I have some projects using Durandal. I'll probably just keep Mosaico separate rather than complicate things. Thanks anyway.

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

No branches or pull requests

2 participants