All files / evt index.js

100% Statements 4/4
100% Branches 0/0
100% Functions 0/0
100% Lines 4/4

Press n or j to go to the next uncovered block, b, p or k for the previous block.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22                                  1x 1x 1x 1x  
/**
 * 处理事件与广播
 * @module spore-ui/kit/packages/evt
 * @see https://github.com/SporeUI/spore-kit/tree/master/packages/evt
 * @example
 * // 统一引入 @spore-ui/kit
 * var $kit = require('@spore-ui/kit');
 * console.info($kit.evt.occurInside);
 *
 * // 单独引入 @spore-ui/kit/packages/evt
 * var $evt = require('@spore-ui/kit/packages/evt');
 * console.info($evt.occurInside);
 *
 * // 单独引入一个方法
 * var $occurInside = require('@spore-ui/kit/packages/evt/occurInside');
 */
 
exports.Events = require('./events');
exports.Listener = require('./listener');
exports.occurInside = require('./occurInside');
exports.tapStop = require('./tapStop');