Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

angular breadcrumb from url

@Component({ 
  selector: 'app-breadcrumb', 
  templateUrl: './breadcrumb.component.html', 
  styleUrls: ['./breadcrumb.component.scss'], 
}) 
export class BreadcrumbComponent { 
  breadcrumbs$: Observable<Breadcrumb[]>; 
 
  constructor(private readonly breadcrumbService: BreadcrumbService) { 
    this.breadcrumbs$ = breadcrumbService.breadcrumbs$; 
  } 
}
Source by marco.dev #
 
PREVIOUS NEXT
Tagged: #angular #breadcrumb #url
ADD COMMENT
Topic
Name
2+7 =