Is it possible to bind a [routerLink] to a div? Angular 2+ Is it possible to bind a [routerLink] to a div? Angular 2+ angular angular

Is it possible to bind a [routerLink] to a div? Angular 2+


Yes it can be attached to div tag, your route is probably wrong try add / in front of route.

<div [routerLink]="['/explore/brands']"> go to this location </div>