MCPcopy Create free account
hub / github.com/apache/cloudstack / removeWithAnimation

Function removeWithAnimation

tools/ngui/static/bootstrap/js/bootstrap.js:1017–1026  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1015 $tip.removeClass('in')
1016
1017 function removeWithAnimation() {
1018 var timeout = setTimeout(function () {
1019 $tip.off($.support.transition.end).detach()
1020 }, 500)
1021
1022 $tip.one($.support.transition.end, function () {
1023 clearTimeout(timeout)
1024 $tip.detach()
1025 })
1026 }
1027
1028 $.support.transition && this.$tip.hasClass('fade') ?
1029 removeWithAnimation() :

Callers 1

bootstrap.jsFile · 0.85

Calls 2

offMethod · 0.80
detachMethod · 0.65

Tested by

no test coverage detected