Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
show() {
const instances = Pj.notice.getInstances()
instances.forEach(instance => {
if (instance.is('shown')) {
instance.hide()
}
})
this.setStyles()
this.animate()
this.bind()
append(this.$element, window.document.body)
this.enter('shown')
this.trigger(EVENTS.SHOW)
}