Skip to content

DataAPI SDK japanese MT.DataAPI Static method on

Taku AMANO edited this page Jul 5, 2013 · 4 revisions

on

Register global level callback. The callback registered with this method is called by all the instances of DataAPI.

パラメータ

パラメータ名 タイプ 必須 説明
key String * Event name
callback Function * Callback function

var callback = function() {
  // Do stuff
};
DataAPI.on(eventName, callback);

See also

Events

Clone this wiki locally