How to implement batch processing using angular2 router

I use angular2recently, but don’t know how to implement the component breadcrumb, can anyone help?

<div class="row" style="padding-top:15px;">
   <ol class="breadcrumb">
      <li><a [how to?]>home</a></li>
      <li class="active">detail</li>
   </ol>
 </div>
+4
source share
2 answers

Currently not too easy. There is an open question to support this use case https://github.com/angular/angular/issues/5318

0
source

, Breadcrumb Breadcrumb, . , bootflat (http://bootflat.imtqy.com/documentation.html), Breadcrumb angular2. Breadcrumb angular2. , .

https://github.com/MrPardeep/Angular2-DatePicker

Breadcrum HTML:

<breadcrumb>
    <tab name="Home" icon="glyphicon glyphicon-home"></tab>
    <a [routerLink]="['/Components']">
        <tab name="Cutom Angular 2 Components" icon="glyphicon glyphicon-home"></tab>
    </a>
    <tab action="active" name="Datepicker" icon="glyphicon glyphicon-list-alt"></tab>
</breadcrumb>

, .

Breadcrumb.

enter image description here

0

Source: https://habr.com/ru/post/1630012/


All Articles