ngx-let
v0.0.1
Published
Declare variables for blocks in your Angular templates.
Downloads
3
Readme
NgxLet
Declare variables for blocks in your Angular templates.
Example
<!-- Without ngx-let -->
<div>Name: {{ (person$ | async).name }}</div>
<div>Age: {{ (person$ | async).age }}</div>
<!-- With ngx-let -->
<ng-container *ngxLet="person$ | async as person">
<div>Name: {{ person.name }}</div>
<div>Age: {{ person.age }}</div>
</ng-container>