public Now ( object key, object value ) : void | ||
key | object | |
value | object | |
return | void |
Flash.Now( key, "Hello current action" )
This method enables you to use the flash as a central messaging system in your app. When you need to pass an object to the next action, you use the standard flash assign ([]=
). When you need to pass an object to the current action, you use Now
, and your object will vanish when the current action is done.
Entries set via Now
are accessed the same way as standard entries: Flash['my-key']
.
public Now ( object key, object value ) : void | ||
key | object | |
value | object | |
return | void |