MCPcopy
hub / github.com/Tencent/weui.js / _hide

Function _hide

src/picker/picker.js:250–262  ·  view source on GitHub ↗
(callback)

Source from the content-addressed store, hash-verified

248 });
249 }
250 function _hide(callback){
251 _hide = $.noop; // 防止二次调用导致报错
252
253 $picker.find('.weui-mask').addClass('weui-animate-fade-out');
254 $picker.find('.weui-picker')
255 .addClass('weui-animate-slide-down')
256 .on('animationend webkitAnimationEnd', function () {
257 $picker.remove();
258 _sington = false;
259 defaults.onClose();
260 callback && callback();
261 });
262 }
263 function hide(callback){ _hide(callback); }
264
265 // 初始化滚动的方法

Callers 1

hideFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected