You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
|`[nzAutoGenerate]`| Auto generate breadcrumb |`boolean`|`false`|
29
29
|`[nzRouteLabel]`| Name of property that determines displayed text in routing config. It should be used when `nzAutoGenerate` is `true`|`string`|`'breadcrumb'`|
30
-
|`[nzRouteLabelFn]`| Format breadcrumb item label text,normally used in international app to translate i18n key. It should be used when `nzAutoGenerate` is `true`|`(label:string) => string`|`label => label`|
30
+
|`[nzRouteLabelFn]`| Format breadcrumb item label text, normally used in international app to translate i18n key. It should be used when `nzAutoGenerate` is `true`|`(label:string) => string`|`label => label`|
31
+
|`[nzRouteFn]`| Format breadcrumb item route, normally used in international app to bind current params or query strings to avoid losing them while navigate using breadcrumb. It should be used when `nzAutoGenerate` is `true`|`(route:string) => route`|`route => route`|
31
32
32
33
Using `[nzAutoGenerate]` by configuring `data` like this:
33
34
@@ -53,7 +54,7 @@ For lazy loading modules, you should write `data` in parent module like this:
53
54
}
54
55
```
55
56
56
-
use`nzRouteLabel` to custom `data` breadcrumb label:
57
+
Use`nzRouteLabel` to custom `data` breadcrumb label:
0 commit comments