Angular2+ - Test generate event for fromEvent on jquery / bootstrap event

后端 未结 0 1320
生来不讨喜
生来不讨喜 2021-01-14 04:01

I wanted to test this part of code :

ngAfterViewInit(): void {
  this.sub = fromEvent($(#myModal), \'hide.bs.modal\').subcribe( () => {
    // some stuff
          


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题