code: function(){
      var _self = this,
        tipGroup = _self.get('tipGroup'),
        triggerEvent = tipGroup ? tipGroup.get('triggerEvent') : '',
        canvas = _self.get('canvas');
  
      if (triggerEvent == 'click') {
        function __documentClick(ev){
          if(!Util.contains(canvas.get('node'), ev.target)&&canvas.get('node') != ev.target){
            _self.onTriggerOut(ev);
            Util.removeEvent(document,'click', __documentClick);
          }
        }
        canvas.on('click',function(ev){
          _self.onCanvasMove(ev);
          setTimeout(function(){
            Util.removeEvent(document,'click', __documentClick);
            Util.addEvent(document,'click', __documentClick);
          })
        });
  
      } else {
        canvas.on('mousemove',Util.wrapBehavior(_self,'onCanvasMove'));
        canvas.on('mouseout',Util.wrapBehavior(_self,'onMouseOut'));
      }
    }
docs: 绑定鼠标在画板上移动事件