Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

grepper add code answer

ng if cart icon got items only show numbers

<ion-icon slot="end" (click)="openCart()" #cart class="cart_icons" name="cart-outline"></ion-icon>
        <div *ngIf="(cartItemCount | async) >= 1 ">
          <span>{{ cartItemCount | async }}</span>
        </div>
      </div>
 
PREVIOUS NEXT
Tagged: #grepper #add #code #answer
ADD COMMENT
Topic
Name
3+9 =