@@ -23,24 +23,24 @@ So you're going to take over from him.
2323
2424>  "As a user, I would like to save something by holding down the button for a certain amount of time."
2525
26- Here the prototype made by Lucie  :
26+ Here the prototype made by Lucie:
2727
2828![ prototype gif] ( ../../../../../../docs/src/assets/rxjs/49/prototype.gif ) 
2929
3030## Acceptance Criteria  
3131
32321 .  We should be able to configure a maintenance duration in milliseconds.
33- 2 .  Pressing and holding the button triggers the countdown on " mousedown"  event.
34- 3 .  On " mouseleave"  or " mouseup"  events, the progress bar is reset to 0.
33+ 2 .  Pressing and holding the button triggers the countdown on the  ` mousedown `  event.
34+ 3 .  On ` mouseleave `  or ` mouseup `  events, the progress bar is reset to 0.
35354 .  The progress bar representing the remaining relative time should reflect the remaining time.
36- 5 .  Simulates a backup  request when the hold time is over (console log or alert).
36+ 5 .  Simulates a backend  request when the hold time is over (console log or alert).
37376 .  You must maximize the use of RxJS operators and be as declarative as possible.
3838
3939<details >
4040 <summary>Tips 🤫 (if you really need it and after careful consideration)</summary> 
4141 <ul> 
42-   <li>Create the `HolddableDirective `</li> 
43-   <li>Use `TemplateRef` and `fromEvent` from rxjs  to catch events OR  `@HostListener`</li> 
44-   <li>Perhaps the following rxjs  operators can help you: interval, takeUntil, switchmap , takeWhile/retry...</li> 
42+   <li>Create the `HoldableDirective `</li> 
43+   <li>Use `TemplateRef` and `fromEvent` from RxJS  to catch events or  `@HostListener`</li> 
44+   <li>Perhaps the following RxJS  operators can help you: interval, takeUntil, switchMap , takeWhile/retry...</li> 
4545 </ul> 
4646</details >
0 commit comments