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

ejecta & wizCanvas #45

Open
gen-failure opened this issue Jan 26, 2014 · 2 comments
Open

ejecta & wizCanvas #45

gen-failure opened this issue Jan 26, 2014 · 2 comments

Comments

@gen-failure
Copy link

Hi,

Is there still some nice way how to integrate this plugin with ejecta as it worked in past? Of course I noticed that you split that plugin into two, but what is the best way if I want a fullscreen ejecta window and small transparent webview for user interface?

Michal

@gen-failure
Copy link
Author

Or, to ask in better way, it is possible:

  1. Install wizCanvas
  2. install wizViewManager
  3. Draw ejecta over whole display
  4. Draw another small webview
  5. Sending MSGs from webviews to wizcanvas?

@aogilvie
Copy link
Contributor

@DarkenBLN yes, it is possible, I pushed some changes last week that allows you to do it with ease.
Ensure you have the latest wizCanvas update. I think I have a small wizViewManager fix to push.

Note:

  • View z-index is controlled by the creation order of views.
  • You should be able to do;

var messenger = wizCanvasMessenger ? wizCanvasMessenger : wizViewMessenger; messenger.postMessage(<message> , <target>);

  • Messages can only be sent via Cordova view. For example
    0 - Cordova WebView
    A - WebView
    B - CanvasView

Message from A to B = A -> 0 -> B

Hope this clarifies everything.

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

No branches or pull requests

2 participants