Skip to content

Commit

Permalink
Changeable routing config properties (SAP#2350)
Browse files Browse the repository at this point in the history
  • Loading branch information
JohannesDoberer authored Oct 26, 2021
1 parent abd7739 commit 5b852a4
Show file tree
Hide file tree
Showing 5 changed files with 30,638 additions and 14,213 deletions.
2 changes: 1 addition & 1 deletion core/src/App.html
Original file line number Diff line number Diff line change
Expand Up @@ -1650,7 +1650,7 @@

afterUpdate(() => {
resizeMicrofrontendIframe();
})
});

beforeUpdate(() => {
breadcrumbsEnabled = GenericHelpers.requestExperimentalFeature('breadcrumbs');
Expand Down
10 changes: 5 additions & 5 deletions docs/navigation-parameters-reference.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,6 @@ Use the parameters and functions in this reference to configure your Luigi navig
## Routing parameters
You can configure the way Luigi tackles routing in your application in the `routing:` section of the configuration file. For example, you can choose the routing strategy to apply in your application as either hash or path location routing.

### defaults.sideNavAccordionMode
- **type**: boolean
- **description**: overrides the default behaviour of categories whether multiple categories can be collapsed. When set to `true`, only one category is collapsed. The navigation is similar to an accordion; when the user clicks another category the previously collapsed category is closed and the new one is opened.
- **default**: `false`

### disableBrowserHistory
- **type** boolean
- **description**: defines either if browser history is enabled or not.
Expand Down Expand Up @@ -106,6 +101,11 @@ The navigation parameters allow you to configure **global** navigation settings
- **errorFn** used to handle different scenarios other than redirection.
- **since**: v1.0.1

### defaults.sideNavAccordionMode
- **type**: boolean
- **description**: overrides the default behaviour of categories whether multiple categories can be collapsed. When set to `true`, only one category is collapsed. The navigation is similar to an accordion; when the user clicks another category the previously collapsed category is closed and the new one is opened.
- **default**: `false`

### defaults.tooltipText
- **type**: boolean | string
- **description**: applies the [tooltipText](navigation-parameters-reference.md#tooltiptext) property to all navigation nodes where it is not set explicitly. If it is `false`, all tooltips will be hidden. If it is `Some string text`, all tooltips will have the value `Some string text`.
Expand Down
Loading

0 comments on commit 5b852a4

Please sign in to comment.