[AAE-4569] Added readOnly property to breadcrumb components (#6636)

* [AAE-4569] Added readOnly property to breadcrumb components

* [AAE-4569] Add method for testing if an anchor element should be used

* [AAE-4569] Add missing return type

* [AAE-4569] Add unit test
This commit is contained in:
Thomas Hunter
2021-02-09 12:57:42 +01:00
committed by GitHub
parent 2071596fe6
commit 0ba2c7dc45
6 changed files with 30 additions and 5 deletions

View File

@@ -32,6 +32,7 @@ Indicates the current position within a navigation hierarchy using a dropdown me
| rootId | `string` | null | (optional) The id of the root element. You can use this property to set a custom element the breadcrumb should start with. |
| target | [`DocumentListComponent`](../../content-services/components/document-list.component.md) | | (optional) [Document List component](../../content-services/components/document-list.component.md) to operate with. The list will update when the breadcrumb is clicked. |
| transform | `Function` | | Transformation to be performed on the chosen/folder node before building the breadcrumb UI. Can be useful when custom formatting is needed for the breadcrumb. You can change the path elements from the node that are used to build the breadcrumb using this function. |
| readOnly | `boolean` | false | Prevents changing the active node |
### Events