Is there any way to pass Dart variables to another browser window? -



Is there any way to pass Dart variables to another browser window? -

i know can utilize local storage, cookies , postmessage these methods take simple types. want pass objects , lists straight other window.

i found similar question using javascript. i'd victor pointed in next link.

can pass javascript variable browser window?

trying similar in dart gives me warining before running.

var popup = window.open('popup.html', ''); popup.variable = localvariable; //warning here

passing objects not possible.

you can serialize json create simple type , pass using postmessage , deserialize. lists , maps containing simple types should work postmessage.

dart

Comments

Popular posts from this blog

java - How to set log4j.defaultInitOverride property to false in jboss server 6 -

c - GStreamer 1.0 1.4.5 RTSP Example Server sends 503 Service unavailable -

Using ajax with sonata admin list view pagination -