hof 22.0.0-timeout-warning-sign-in-beta.8 → 22.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +1 -1
- package/README.md +3 -4
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
package/README.md
CHANGED
|
@@ -1261,7 +1261,7 @@ This feature allows you to customise the content related to the session timeout
|
|
|
1261
1261
|
|
|
1262
1262
|
### Usage
|
|
1263
1263
|
|
|
1264
|
-
To enable and
|
|
1264
|
+
To enable and customise the session timeout behavior, you need to set the component in your project's `hof.settings.json` file:
|
|
1265
1265
|
```js
|
|
1266
1266
|
"behaviours": [
|
|
1267
1267
|
"hof/components/session-timeout-warning"
|
|
@@ -1280,7 +1280,7 @@ By default, the framework uses the standard content provided by HOF. If you wish
|
|
|
1280
1280
|
```
|
|
1281
1281
|
|
|
1282
1282
|
### Customising content in `pages.json`
|
|
1283
|
-
Once the variables are set, you can
|
|
1283
|
+
Once the variables are set, you can customise the session timeout warning and exit messages in your project's pages.json:
|
|
1284
1284
|
|
|
1285
1285
|
```json
|
|
1286
1286
|
"exit": {
|
|
@@ -1307,7 +1307,7 @@ To edit the exit or save-and-exit pages' header and title, create an `exit.json`
|
|
|
1307
1307
|
```
|
|
1308
1308
|
|
|
1309
1309
|
### Customising exit and save-and-exit steps
|
|
1310
|
-
You can
|
|
1310
|
+
You can customise the `exit` and `save-and-exit` steps by setting the `exitStep` or `saveAndExitStep` properties in the `apps/<app_name>/index.js` to the desired path name:
|
|
1311
1311
|
|
|
1312
1312
|
```js
|
|
1313
1313
|
// customising exit step name
|
|
@@ -1337,7 +1337,6 @@ module.exports = {
|
|
|
1337
1337
|
}
|
|
1338
1338
|
...
|
|
1339
1339
|
}
|
|
1340
|
-
|
|
1341
1340
|
```
|
|
1342
1341
|
|
|
1343
1342
|
# UTILITIES
|