Skip to content

Latest commit

 

History

History
13 lines (9 loc) · 252 Bytes

mw-let-directive.md

File metadata and controls

13 lines (9 loc) · 252 Bytes

MwLetDirective

Directive mwLet allows reusing computed value in several places in template to avoid many async pipes

How to use

  • Import MwLetDirectiveModule
<ng-container *mwLet="smth$ | async as smth">
  {{ smth }}
</ng-container>