ngx-let
TypeScript icon, indicating that this package has built-in type declarations

0.0.1 • Public • Published

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>

Readme

Keywords

none

Package Sidebar

Install

npm i ngx-let

Weekly Downloads

0

Version

0.0.1

License

none

Unpacked Size

19.3 kB

Total Files

14

Last publish

Collaborators

  • corradodellorusso