4 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
5 <title>The source code</title>
6 <link href="../prettify/prettify.css" type="text/css" rel="stylesheet" />
7 <script type="text/javascript" src="../prettify/prettify.js"></script>
8 <style type="text/css">
9 .highlight { display: block; background-color: #ddd; }
11 <script type="text/javascript">
12 function highlight() {
13 document.getElementById(location.hash.replace(/#/, "")).className = "highlight";
17 <body onload="prettyPrint(); highlight();">
18 <pre class="prettyprint lang-js"><span id='Ext-direct-Event'>/**
19 </span> * @class Ext.direct.Event
20 * A base class for all Ext.direct events. An event is
21 * created after some kind of interaction with the server.
22 * The event class is essentially just a data structure
23 * to hold a direct response.
25 Ext.define('Ext.direct.Event', {
27 /* Begin Definitions */
29 alias: 'direct.event',
31 requires: ['Ext.direct.Manager'],
37 <span id='Ext-direct-Event-method-constructor'> /**
38 </span> * Creates new Event.
39 * @param {Object} config (optional) Config object.
41 constructor: function(config) {
42 Ext.apply(this, config);
45 <span id='Ext-direct-Event-method-getData'> /**
46 </span> * Return the raw data for this event.
47 * @return {Object} The data from the event