Skip to content
This repository has been archived by the owner on Apr 20, 2018. It is now read-only.

rxjs-compat subscribe have no effect #1556

Open
Frennetix opened this issue Apr 17, 2018 · 2 comments
Open

rxjs-compat subscribe have no effect #1556

Frennetix opened this issue Apr 17, 2018 · 2 comments

Comments

@Frennetix
Copy link

I use a library ng2-bs3-modal and after upgrading my project to version 6.x.x the subscribe have no effect:

<bs-modal #modal>
  ...
</bs-modal>

@ViewChild('modal')
modal1: BsModalComponent;

this.modal1.onClose.subscribe(
  () => {
    console.log('close');
  }
)

Repo to reproduce:
https://github.com/Frennetix/rxjs6-ng2-bs3-modal

@Frennetix
Copy link
Author

I'll add that:
this.modal1.onOpen.emit();

trigger the subscribe()

@whiteinge
Copy link
Contributor

This repo is for the Rx 4 version. You want https://github.com/ReactiveX/rxjs instead.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants