coriander31415 / book-shop

2 stars 0 forks source link

Task #5. Directives #6

Closed coriander31415 closed 3 years ago

coriander31415 commented 3 years ago
  1. Task №5. Directives - https://github.com/rolling-scopes-school/tasks/blob/master/tasks/angular-new/angular-directives.md
  2. In this task followin directives are tested:
    • [x] ngIf (then, else), ngFor, ngClass, ngStyle (render books and cart items, add styles)
    • [x] tested decorators @HostBinding, @HostListener (highlight cart items when hover)
    • [x] created shared directive with click listener (change font-size and put inset border-style to the book item), use ElementRef + Renderer2
  3. Screenshots: image