MCPcopy Index your code
hub / github.com/codecombat/codecombat / hide

Method hide

app/views/core/ModalView.js:119–123  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

117 // pressing 'esc' or using `currentModal.hide()` triggers 'hide', 'hide.bs.modal', 'hidden', 'hidden.bs.modal'
118 // clicking outside the modal triggers 'hide.bs.modal', 'hidden', 'hidden.bs.modal' (but not 'hide')
119 hide () {
120 this.trigger('hide')
121 if (!this.destroyed) { this.$el.removeClass('fade').modal('hide') }
122 return __guardMethod__(this.focusTrap, 'deactivate', o => o.deactivate())
123 }
124
125 onHidden () {
126 return this.trigger('hidden')

Callers 15

onEscMethod · 0.95
destroyMethod · 0.95
closeCurrentViewMethod · 0.45
sendContactMessageFunction · 0.45
initEditorMethod · 0.45
togglePreviewMethod · 0.45
onSubscriptionSuccessMethod · 0.45
saveLanguageSettingMethod · 0.45

Calls 1

__guardMethod__Function · 0.70

Tested by

no test coverage detected