You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Brian Cavalier edited this page Oct 10, 2011
·
1 revision
wire/dojo/store
The wire/dojo/data plugin uses wire.js's JSON-reference-like syntax to provide an easy way to create and inject Dojo datastores. This plugin can help when working with Dijits, since many haven't yet been converted to use the newer Dojo object stores, such as JsonRest.
Note that behind the scenes, this plugin uses a dojo/store/JsonRest object store wrapped with the dojo/data/ObjectStore adapter, and so requires Dojo 1.6 or later.
Options
{module: 'wire/dojo/data'// Easy! There are no options, just include the plugin.}
resource! References
Syntax
The following is a reference to a Dojo datastore whose target is the REST endpoing at url/of/datastore/target.