niedziela, 30 czerwca 2019

Programming exercise #6 - start emitting value, when all items emits something [rxjs]

So, new RXJS exercise:
Create two buttons like this:
const button1 = document.querySelector('#btn1');
const button2 = document.querySelector('#btn2');

After click on every button emit some value, but start doing this only, when user click both first and second button. When this rule is satisfied, emit last value.

Brak komentarzy:

Prze艣lij komentarz