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>

/ngx-let/

    Package Sidebar

    Install

    npm i ngx-let

    Weekly Downloads

    1

    Version

    0.0.1

    License

    none

    Unpacked Size

    19.3 kB

    Total Files

    14

    Last publish

    Collaborators

    • corradodellorusso