@atlassian/aui
Version:
Atlassian User Interface Framework
50 lines (47 loc) • 1.48 kB
JavaScript
(function (global, factory) {
if (typeof define === "function" && define.amd) {
define(['module', 'exports'], factory);
} else if (typeof exports !== "undefined") {
factory(module, exports);
} else {
var mod = {
exports: {}
};
factory(mod, mod.exports);
global.events = mod.exports;
}
})(this, function (module, exports) {
'use strict';
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = {
// AJS
REORDER_SUCCESS: 'RestfulTable.reorderSuccess',
ROW_ADDED: 'RestfulTable.rowAdded',
ROW_REMOVED: 'RestfulTable.rowRemoved',
EDIT_ROW: 'RestfulTable.switchedToEditMode',
SERVER_ERROR: 'RestfulTable.serverError',
// Backbone
CREATED: 'created',
UPDATED: 'updated',
FOCUS: 'focus',
BLUR: 'blur',
SUBMIT: 'submit',
SAVE: 'save',
MODAL: 'modal',
MODELESS: 'modeless',
CANCEL: 'cancel',
CONTENT_REFRESHED: 'contentRefreshed',
RENDER: 'render',
FINISHED_EDITING: 'finishedEditing',
VALIDATION_ERROR: 'validationError',
SUBMIT_STARTED: 'submitStarted',
SUBMIT_FINISHED: 'submitFinished',
INITIALIZED: 'initialized',
ROW_INITIALIZED: 'rowInitialized',
ROW_EDIT: 'editRow'
};
module.exports = exports['default'];
});
//# sourceMappingURL=events.js.map