dojo/_base/connect

Contents

dojo/_base/connect contains functions for connecting to methods, events and topics. The functionality in this module is deprecated, but kept in the Dojo 1.X code stream for backwards compatiblity.

Usage

As with the rest of dojo/_base modules, if you are running the Dojo loader in legacy mode (async: false) this module is automatically loaded. Even if it is automatically loaded, you should require it in to have access to its features:

require(["dojo/_base/connect"], function(connect){
  // connect now has the module's features
});

See Also