Pancake/French Toast/Message API: Difference between revisions

 
(One intermediate revision by the same user not shown)
Line 3: Line 3:
==== As a front-end developer, I need a way to tell the native app to open a new layer containing a specific layer state. ====
==== As a front-end developer, I need a way to tell the native app to open a new layer containing a specific layer state. ====


   FrenchToast.openApplicationView(url)
   FrenchToast.openAppView(url)


==== As a front-end developer, I need a way to tell the native app to open a URL in the viewer. ====
==== As a front-end developer, I need a way to tell the native app to open a URL in the viewer. ====


   FrenchToast.openPublicView(url)
   FrenchToast.openWebView(url)


''I don't think we need the name parameter. I don't think we want layers to be able to talk directly to each other. Instead, I believe we can stick to a service-oriented architecture based on URLs.'' -[[Gbrander]]
''I don't think we need the name parameter. I don't think we want layers to be able to talk directly to each other. Instead, I believe we can stick to a service-oriented architecture based on URLs.'' -[[Gbrander]]
Confirmed users
971

edits