web-apps/vendor/touch/src/direct/Event.js
Maxim Kadushkin 741b10515d webapps added
2016-03-10 21:48:53 -03:00

42 lines
817 B
JavaScript

/**
* @class Ext.direct.Event
* A base class for all Ext.direct events. An event is
* created after some kind of interaction with the server.
* The event class is essentially just a data structure
* to hold a Direct response.
*/
Ext.define('Ext.direct.Event', {
alias: 'direct.event',
requires: ['Ext.direct.Manager'],
config: {
status: true,
/**
* @cfg {Object} data The raw data for this event.
* @accessor
*/
data: null,
/**
* @cfg {String} name The name of this Event.
* @accessor
*/
name: 'event',
xhr: null,
code: null,
message: '',
result: null,
transaction: null
},
constructor: function(config) {
this.initConfig(config)
}
});