Optional Embedded Visual Authoring Breadcrumb Properties
Optionally, you can pass breadcrumb properties as parameters to the createComponent
method when embedding Composer visual authoring components.
Here is a sample:
"breadcrumbs": { // optional configuration of the breadcrumbs "title": "Visuals", "onClick": () => {console.log('clicked')}, "href": "http://www.google.com", "target": "_blank" }
The following table describes the optional breadcrumb properties.
Property/Object | Default | Description |
---|---|---|
"breadcrumbs.href":"<address>" | none | The link address of the breadcrumb title. A valid link address should be specified in quotes ( Type: string |
"breadcrumbs.onClick" | none | The click action handler for the breadcrumb title. Type: function |
"breadcrumbs.target":"_blank" | none | The link target parameter. Use Type: string |
"breadcrumbs.title":"<title>" | none | The first item breadcrumbs title. A valid title should be specified in quotes ( Type: string |
Comments
0 comments
Please sign in to leave a comment.