@genesislcap/foundation-header 14.408.0 → 14.409.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/README.md +6 -633
- package/dist/custom-elements.json +230 -230
- package/package.json +23 -23
- package/docs/api/foundation-header.configure.md +0 -75
- package/docs/api/foundation-header.defaultheaderconfig.md +0 -13
- package/docs/api/foundation-header.elementtargetid.md +0 -15
- package/docs/api/foundation-header.foundationheader.loadremotes.md +0 -15
- package/docs/api/foundation-header.foundationheader.md +0 -53
- package/docs/api/foundation-header.headerconfig.md +0 -59
- package/docs/api/foundation-header.headerconfig.templateoptions.md +0 -18
- package/docs/api/foundation-header.headertargetid.md +0 -13
- package/docs/api/foundation-header.languageoptions.md +0 -16
- package/docs/api/foundation-header.mainstyles.md +0 -13
- package/docs/api/foundation-header.md +0 -246
- package/docs/api/foundation-header.naveventdetailmap.md +0 -23
- package/docs/api/foundation-header.navigation.authrouting.md +0 -11
- package/docs/api/foundation-header.navigation.changelanguage.md +0 -56
- package/docs/api/foundation-header.navigation.connectedcallback.md +0 -17
- package/docs/api/foundation-header.navigation.container.md +0 -11
- package/docs/api/foundation-header.navigation.controlpanel.md +0 -11
- package/docs/api/foundation-header.navigation.disconnectedcallback.md +0 -17
- package/docs/api/foundation-header.navigation.enableinactivitymonitoring.md +0 -18
- package/docs/api/foundation-header.navigation.handlenavbuttonclick.md +0 -54
- package/docs/api/foundation-header.navigation.hasactivechild.md +0 -56
- package/docs/api/foundation-header.navigation.headerconfig.md +0 -11
- package/docs/api/foundation-header.navigation.hidesidebar.md +0 -13
- package/docs/api/foundation-header.navigation.i18next.md +0 -11
- package/docs/api/foundation-header.navigation.inactivitytimeoutminutes.md +0 -18
- package/docs/api/foundation-header.navigation.inactivitywarningminutes.md +0 -18
- package/docs/api/foundation-header.navigation.islayoutitemactive.md +0 -56
- package/docs/api/foundation-header.navigation.languageoptions.md +0 -13
- package/docs/api/foundation-header.navigation.layoutitemcheck.md +0 -30
- package/docs/api/foundation-header.navigation.loginrouting.md +0 -11
- package/docs/api/foundation-header.navigation.logoalttext.md +0 -18
- package/docs/api/foundation-header.navigation.logosrc.md +0 -18
- package/docs/api/foundation-header.navigation.logout.md +0 -17
- package/docs/api/foundation-header.navigation.logoutbuttonposition.md +0 -18
- package/docs/api/foundation-header.navigation.luminancetoggle.md +0 -11
- package/docs/api/foundation-header.navigation.md +0 -793
- package/docs/api/foundation-header.navigation.navigateto.md +0 -58
- package/docs/api/foundation-header.navigation.pathname.md +0 -13
- package/docs/api/foundation-header.navigation.routebuttons.md +0 -24
- package/docs/api/foundation-header.navigation.routenavitems.md +0 -13
- package/docs/api/foundation-header.navigation.selecttemplate.md +0 -19
- package/docs/api/foundation-header.navigation.setluminance.md +0 -15
- package/docs/api/foundation-header.navigation.shouldshowaccountmenu.md +0 -18
- package/docs/api/foundation-header.navigation.showaccountmenu.md +0 -18
- package/docs/api/foundation-header.navigation.showaiindicator.md +0 -13
- package/docs/api/foundation-header.navigation.showconnectionindicator.md +0 -13
- package/docs/api/foundation-header.navigation.showcontrolpanel.md +0 -13
- package/docs/api/foundation-header.navigation.showenvironmentindicator.md +0 -13
- package/docs/api/foundation-header.navigation.showlanguageselector.md +0 -18
- package/docs/api/foundation-header.navigation.showluminancetogglebutton.md +0 -18
- package/docs/api/foundation-header.navigation.showmisctogglebutton.md +0 -18
- package/docs/api/foundation-header.navigation.shownotificationsbutton.md +0 -23
- package/docs/api/foundation-header.navigation.tolocalisedtext.md +0 -56
- package/docs/api/foundation-header.navigation.user.md +0 -11
- package/docs/api/foundation-header.navigation.username.md +0 -18
- package/docs/api/foundation-header.navtargetid.md +0 -13
- package/docs/api/foundation-header.navtemplate.md +0 -18
- package/docs/api/foundation-header.rapidheader.md +0 -69
- package/docs/api/foundation-header.rapidheader.selecttemplate.md +0 -15
- package/docs/api/foundation-header.sidenavtargetid.md +0 -13
- package/docs/api/foundation-header.styletargetid.md +0 -13
- package/docs/api/index.md +0 -30
- package/docs/api-report.md.api.md +0 -260
|
@@ -1,793 +0,0 @@
|
|
|
1
|
-
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
-
|
|
3
|
-
[Home](./index.md) > [@genesislcap/foundation-header](./foundation-header.md) > [Navigation](./foundation-header.navigation.md)
|
|
4
|
-
|
|
5
|
-
## Navigation class
|
|
6
|
-
|
|
7
|
-
Navigation micro-frontend includes navigation bar and flyout menu
|
|
8
|
-
|
|
9
|
-
**Signature:**
|
|
10
|
-
|
|
11
|
-
```typescript
|
|
12
|
-
export declare class Navigation extends Navigation_base
|
|
13
|
-
```
|
|
14
|
-
**Extends:** Navigation\_base
|
|
15
|
-
|
|
16
|
-
## Remarks
|
|
17
|
-
|
|
18
|
-
`foundation-header` micro-frontend can be added to the project to include a navigation bar and flyout menu. There are multiple ways that the behaviour of the component can be configured - the icon shown on the navigation bar and flyout menu (this shows the Genesis logo by default). - navigation links at the left-hand side of the navigation bar. - the control buttons on the right-hand side of the navigation bar can be shown or hidden, and their behaviour controlled via event listeners - The contents of the flyout menu.
|
|
19
|
-
|
|
20
|
-
## Properties
|
|
21
|
-
|
|
22
|
-
<table><thead><tr><th>
|
|
23
|
-
|
|
24
|
-
Property
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
</th><th>
|
|
28
|
-
|
|
29
|
-
Modifiers
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
</th><th>
|
|
33
|
-
|
|
34
|
-
Type
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
</th><th>
|
|
38
|
-
|
|
39
|
-
Description
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
</th></tr></thead>
|
|
43
|
-
<tbody><tr><td>
|
|
44
|
-
|
|
45
|
-
[authRouting](./foundation-header.navigation.authrouting.md)
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
</td><td>
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
</td><td>
|
|
52
|
-
|
|
53
|
-
AuthRouting
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
</td><td>
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
</td></tr>
|
|
60
|
-
<tr><td>
|
|
61
|
-
|
|
62
|
-
[container](./foundation-header.navigation.container.md)
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
</td><td>
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
</td><td>
|
|
69
|
-
|
|
70
|
-
Container
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
</td><td>
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
</td></tr>
|
|
77
|
-
<tr><td>
|
|
78
|
-
|
|
79
|
-
[controlPanel](./foundation-header.navigation.controlpanel.md)
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
</td><td>
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
</td><td>
|
|
86
|
-
|
|
87
|
-
ControlPanel
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
</td><td>
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
</td></tr>
|
|
94
|
-
<tr><td>
|
|
95
|
-
|
|
96
|
-
[enableInactivityMonitoring](./foundation-header.navigation.enableinactivitymonitoring.md)
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
</td><td>
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
</td><td>
|
|
103
|
-
|
|
104
|
-
boolean
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
</td><td>
|
|
108
|
-
|
|
109
|
-
Boolean attribute which controls whether to enable inactivity monitoring Control via `enable-inactivity-monitoring`
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
</td></tr>
|
|
113
|
-
<tr><td>
|
|
114
|
-
|
|
115
|
-
[headerConfig](./foundation-header.navigation.headerconfig.md)
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
</td><td>
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
</td><td>
|
|
122
|
-
|
|
123
|
-
[HeaderConfig](./foundation-header.headerconfig.md)
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
</td><td>
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
</td></tr>
|
|
130
|
-
<tr><td>
|
|
131
|
-
|
|
132
|
-
[hideSideBar](./foundation-header.navigation.hidesidebar.md)
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
</td><td>
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
</td><td>
|
|
139
|
-
|
|
140
|
-
boolean
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
</td><td>
|
|
144
|
-
|
|
145
|
-
Boolean attribute which controls whether to include the sideNav component Control via`hide-side-bar`
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
</td></tr>
|
|
149
|
-
<tr><td>
|
|
150
|
-
|
|
151
|
-
[i18next](./foundation-header.navigation.i18next.md)
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
</td><td>
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
</td><td>
|
|
158
|
-
|
|
159
|
-
I18next
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
</td><td>
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
</td></tr>
|
|
166
|
-
<tr><td>
|
|
167
|
-
|
|
168
|
-
[inactivityTimeoutMinutes](./foundation-header.navigation.inactivitytimeoutminutes.md)
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
</td><td>
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
</td><td>
|
|
175
|
-
|
|
176
|
-
number
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
</td><td>
|
|
180
|
-
|
|
181
|
-
Number attribute which sets the inactivity timeout in minutes Control via `inactivity-timeout-minutes`
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
</td></tr>
|
|
185
|
-
<tr><td>
|
|
186
|
-
|
|
187
|
-
[inactivityWarningMinutes](./foundation-header.navigation.inactivitywarningminutes.md)
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
</td><td>
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
</td><td>
|
|
194
|
-
|
|
195
|
-
number
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
</td><td>
|
|
199
|
-
|
|
200
|
-
Number attribute which sets the inactivity warning time in minutes before timeout Control via `inactivity-warning-minutes`
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
</td></tr>
|
|
204
|
-
<tr><td>
|
|
205
|
-
|
|
206
|
-
[languageOptions](./foundation-header.navigation.languageoptions.md)
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
</td><td>
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
</td><td>
|
|
213
|
-
|
|
214
|
-
[LanguageOptions](./foundation-header.languageoptions.md)
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
</td><td>
|
|
218
|
-
|
|
219
|
-
Object which defines the language options to be displayed in the language selector
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
</td></tr>
|
|
223
|
-
<tr><td>
|
|
224
|
-
|
|
225
|
-
[layoutItemCheck?](./foundation-header.navigation.layoutitemcheck.md)
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
</td><td>
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
</td><td>
|
|
232
|
-
|
|
233
|
-
(registration: string) => boolean
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
</td><td>
|
|
237
|
-
|
|
238
|
-
**_(BETA)_** _(Optional)_ Callback function to check if a layout item is currently active in the layout. Used with nav items that have `isLayoutItem: true` and `layoutRegistration` set.
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
</td></tr>
|
|
242
|
-
<tr><td>
|
|
243
|
-
|
|
244
|
-
[loginRouting](./foundation-header.navigation.loginrouting.md)
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
</td><td>
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
</td><td>
|
|
251
|
-
|
|
252
|
-
LoginRouting
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
</td><td>
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
</td></tr>
|
|
259
|
-
<tr><td>
|
|
260
|
-
|
|
261
|
-
[logoAltText](./foundation-header.navigation.logoalttext.md)
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
</td><td>
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
</td><td>
|
|
268
|
-
|
|
269
|
-
string
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
</td><td>
|
|
273
|
-
|
|
274
|
-
Optional attribute which controls the alt text of the logo Control via `logo-alt-text`
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
</td></tr>
|
|
278
|
-
<tr><td>
|
|
279
|
-
|
|
280
|
-
[logoSrc](./foundation-header.navigation.logosrc.md)
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
</td><td>
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
</td><td>
|
|
287
|
-
|
|
288
|
-
any
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
</td><td>
|
|
292
|
-
|
|
293
|
-
Optional attribute which controls the icon to show on the navigation bar and flyout Control via `logo-src`
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
</td></tr>
|
|
297
|
-
<tr><td>
|
|
298
|
-
|
|
299
|
-
[logoutButtonPosition](./foundation-header.navigation.logoutbuttonposition.md)
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
</td><td>
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
</td><td>
|
|
306
|
-
|
|
307
|
-
'side-nav' \| 'account-menu' \| 'none'
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
</td><td>
|
|
311
|
-
|
|
312
|
-
String attribute which controls the position of the logout button in the header Control via `logout-button-position`
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
</td></tr>
|
|
316
|
-
<tr><td>
|
|
317
|
-
|
|
318
|
-
[luminanceToggle](./foundation-header.navigation.luminancetoggle.md)
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
</td><td>
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
</td><td>
|
|
325
|
-
|
|
326
|
-
boolean
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
</td><td>
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
</td></tr>
|
|
333
|
-
<tr><td>
|
|
334
|
-
|
|
335
|
-
[pathName](./foundation-header.navigation.pathname.md)
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
</td><td>
|
|
339
|
-
|
|
340
|
-
`readonly`
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
</td><td>
|
|
344
|
-
|
|
345
|
-
string
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
</td><td>
|
|
349
|
-
|
|
350
|
-
Current pathname for route highlighting
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
</td></tr>
|
|
354
|
-
<tr><td>
|
|
355
|
-
|
|
356
|
-
[routeButtons](./foundation-header.navigation.routebuttons.md)
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
</td><td>
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
</td><td>
|
|
363
|
-
|
|
364
|
-
Array<{ index: number; path: string; title: string; icon: string; variant: string; }>
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
</td><td>
|
|
368
|
-
|
|
369
|
-
If present the defined route buttons will be rendered in the header 'routes' slot
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
</td></tr>
|
|
373
|
-
<tr><td>
|
|
374
|
-
|
|
375
|
-
[routeNavItems](./foundation-header.navigation.routenavitems.md)
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
</td><td>
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
</td><td>
|
|
382
|
-
|
|
383
|
-
FoundationRouteNavItem\[\]
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
</td><td>
|
|
387
|
-
|
|
388
|
-
If present the defined will be rendered in the header 'routes' slot
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
</td></tr>
|
|
392
|
-
<tr><td>
|
|
393
|
-
|
|
394
|
-
[shouldShowAccountMenu](./foundation-header.navigation.shouldshowaccountmenu.md)
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
</td><td>
|
|
398
|
-
|
|
399
|
-
`readonly`
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
</td><td>
|
|
403
|
-
|
|
404
|
-
boolean
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
</td><td>
|
|
408
|
-
|
|
409
|
-
Computed property that determines if the account menu should be shown
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
</td></tr>
|
|
413
|
-
<tr><td>
|
|
414
|
-
|
|
415
|
-
[showAccountMenu](./foundation-header.navigation.showaccountmenu.md)
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
</td><td>
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
</td><td>
|
|
422
|
-
|
|
423
|
-
boolean
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
</td><td>
|
|
427
|
-
|
|
428
|
-
Boolean attribute which controls whether to show the account menu on the navigation bar Control via `show-account-menu`
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
</td></tr>
|
|
432
|
-
<tr><td>
|
|
433
|
-
|
|
434
|
-
[showAiIndicator](./foundation-header.navigation.showaiindicator.md)
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
</td><td>
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
</td><td>
|
|
441
|
-
|
|
442
|
-
boolean
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
</td><td>
|
|
446
|
-
|
|
447
|
-
Boolean attribute which controls whether to show the AI indicator on the navigation bar Control via `show-ai-indicator`
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
</td></tr>
|
|
451
|
-
<tr><td>
|
|
452
|
-
|
|
453
|
-
[showConnectionIndicator](./foundation-header.navigation.showconnectionindicator.md)
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
</td><td>
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
</td><td>
|
|
460
|
-
|
|
461
|
-
boolean
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
</td><td>
|
|
465
|
-
|
|
466
|
-
Boolean attribute which controls whether to show the connection indicator on the navigation bar Control via `show-connection-indicator`
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
</td></tr>
|
|
470
|
-
<tr><td>
|
|
471
|
-
|
|
472
|
-
[showControlPanel](./foundation-header.navigation.showcontrolpanel.md)
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
</td><td>
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
</td><td>
|
|
479
|
-
|
|
480
|
-
boolean
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
</td><td>
|
|
484
|
-
|
|
485
|
-
Boolean attribute which controls whether to show the control panel toggle on the navigation bar Control via `show-control-panel`
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
</td></tr>
|
|
489
|
-
<tr><td>
|
|
490
|
-
|
|
491
|
-
[showEnvironmentIndicator](./foundation-header.navigation.showenvironmentindicator.md)
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
</td><td>
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
</td><td>
|
|
498
|
-
|
|
499
|
-
boolean
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
</td><td>
|
|
503
|
-
|
|
504
|
-
Boolean attribute which controls whether to show the environment indicator on the navigation bar Control via `show-environment-indicator`
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
</td></tr>
|
|
508
|
-
<tr><td>
|
|
509
|
-
|
|
510
|
-
[showLanguageSelector](./foundation-header.navigation.showlanguageselector.md)
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
</td><td>
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
</td><td>
|
|
517
|
-
|
|
518
|
-
boolean
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
</td><td>
|
|
522
|
-
|
|
523
|
-
Boolean attribute which controls whether to show the language selector on the navigation bar Control via `show-language-selector`
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
</td></tr>
|
|
527
|
-
<tr><td>
|
|
528
|
-
|
|
529
|
-
[showLuminanceToggleButton](./foundation-header.navigation.showluminancetogglebutton.md)
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
</td><td>
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
</td><td>
|
|
536
|
-
|
|
537
|
-
boolean
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
</td><td>
|
|
541
|
-
|
|
542
|
-
Boolean attribute which controls whether to show the luminance (moon) icon on the navigation bar Control via`show-luminance-toggle-button`
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
</td></tr>
|
|
546
|
-
<tr><td>
|
|
547
|
-
|
|
548
|
-
[showMiscToggleButton](./foundation-header.navigation.showmisctogglebutton.md)
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
</td><td>
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
</td><td>
|
|
555
|
-
|
|
556
|
-
boolean
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
</td><td>
|
|
560
|
-
|
|
561
|
-
Boolean attribute which controls whether to show the miscellaneous (menu) icon on the navigation bar Control via `show-luminance-toggle-button`
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
</td></tr>
|
|
565
|
-
<tr><td>
|
|
566
|
-
|
|
567
|
-
[showNotificationsButton](./foundation-header.navigation.shownotificationsbutton.md)
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
</td><td>
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
</td><td>
|
|
574
|
-
|
|
575
|
-
boolean
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
</td><td>
|
|
579
|
-
|
|
580
|
-
Boolean attribute which controls whether to show the notification (bell) icon on the navigation bar Control via `show-notification-button`
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
</td></tr>
|
|
584
|
-
<tr><td>
|
|
585
|
-
|
|
586
|
-
[user](./foundation-header.navigation.user.md)
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
</td><td>
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
</td><td>
|
|
593
|
-
|
|
594
|
-
User
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
</td><td>
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
</td></tr>
|
|
601
|
-
<tr><td>
|
|
602
|
-
|
|
603
|
-
[userName](./foundation-header.navigation.username.md)
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
</td><td>
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
</td><td>
|
|
610
|
-
|
|
611
|
-
string
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
</td><td>
|
|
615
|
-
|
|
616
|
-
Username of the logged in user Control via `user-name` attribute
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
</td></tr>
|
|
620
|
-
</tbody></table>
|
|
621
|
-
|
|
622
|
-
## Methods
|
|
623
|
-
|
|
624
|
-
<table><thead><tr><th>
|
|
625
|
-
|
|
626
|
-
Method
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
</th><th>
|
|
630
|
-
|
|
631
|
-
Modifiers
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
</th><th>
|
|
635
|
-
|
|
636
|
-
Description
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
</th></tr></thead>
|
|
640
|
-
<tbody><tr><td>
|
|
641
|
-
|
|
642
|
-
[changeLanguage(e)](./foundation-header.navigation.changelanguage.md)
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
</td><td>
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
</td><td>
|
|
649
|
-
|
|
650
|
-
Changes the language of the application
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
</td></tr>
|
|
654
|
-
<tr><td>
|
|
655
|
-
|
|
656
|
-
[connectedCallback()](./foundation-header.navigation.connectedcallback.md)
|
|
657
|
-
|
|
658
|
-
|
|
659
|
-
</td><td>
|
|
660
|
-
|
|
661
|
-
|
|
662
|
-
</td><td>
|
|
663
|
-
|
|
664
|
-
Called when the component is connected to the DOM
|
|
665
|
-
|
|
666
|
-
|
|
667
|
-
</td></tr>
|
|
668
|
-
<tr><td>
|
|
669
|
-
|
|
670
|
-
[disconnectedCallback()](./foundation-header.navigation.disconnectedcallback.md)
|
|
671
|
-
|
|
672
|
-
|
|
673
|
-
</td><td>
|
|
674
|
-
|
|
675
|
-
|
|
676
|
-
</td><td>
|
|
677
|
-
|
|
678
|
-
Called when the component is disconnected from the DOM
|
|
679
|
-
|
|
680
|
-
|
|
681
|
-
</td></tr>
|
|
682
|
-
<tr><td>
|
|
683
|
-
|
|
684
|
-
[handleNavButtonClick(routeNavItem)](./foundation-header.navigation.handlenavbuttonclick.md)
|
|
685
|
-
|
|
686
|
-
|
|
687
|
-
</td><td>
|
|
688
|
-
|
|
689
|
-
|
|
690
|
-
</td><td>
|
|
691
|
-
|
|
692
|
-
Handles the click event for a navigation button
|
|
693
|
-
|
|
694
|
-
|
|
695
|
-
</td></tr>
|
|
696
|
-
<tr><td>
|
|
697
|
-
|
|
698
|
-
[hasActiveChild(navItem)](./foundation-header.navigation.hasactivechild.md)
|
|
699
|
-
|
|
700
|
-
|
|
701
|
-
</td><td>
|
|
702
|
-
|
|
703
|
-
|
|
704
|
-
</td><td>
|
|
705
|
-
|
|
706
|
-
Check if any child nav item matches the current route
|
|
707
|
-
|
|
708
|
-
|
|
709
|
-
</td></tr>
|
|
710
|
-
<tr><td>
|
|
711
|
-
|
|
712
|
-
[isLayoutItemActive(item)](./foundation-header.navigation.islayoutitemactive.md)
|
|
713
|
-
|
|
714
|
-
|
|
715
|
-
</td><td>
|
|
716
|
-
|
|
717
|
-
|
|
718
|
-
</td><td>
|
|
719
|
-
|
|
720
|
-
Check if a layout item is currently active in the layout
|
|
721
|
-
|
|
722
|
-
|
|
723
|
-
</td></tr>
|
|
724
|
-
<tr><td>
|
|
725
|
-
|
|
726
|
-
[logout()](./foundation-header.navigation.logout.md)
|
|
727
|
-
|
|
728
|
-
|
|
729
|
-
</td><td>
|
|
730
|
-
|
|
731
|
-
|
|
732
|
-
</td><td>
|
|
733
|
-
|
|
734
|
-
Logs the user out of their session
|
|
735
|
-
|
|
736
|
-
|
|
737
|
-
</td></tr>
|
|
738
|
-
<tr><td>
|
|
739
|
-
|
|
740
|
-
[navigateTo(path)](./foundation-header.navigation.navigateto.md)
|
|
741
|
-
|
|
742
|
-
|
|
743
|
-
</td><td>
|
|
744
|
-
|
|
745
|
-
|
|
746
|
-
</td><td>
|
|
747
|
-
|
|
748
|
-
Changes the route of the current page
|
|
749
|
-
|
|
750
|
-
|
|
751
|
-
</td></tr>
|
|
752
|
-
<tr><td>
|
|
753
|
-
|
|
754
|
-
[selectTemplate()](./foundation-header.navigation.selecttemplate.md)
|
|
755
|
-
|
|
756
|
-
|
|
757
|
-
</td><td>
|
|
758
|
-
|
|
759
|
-
|
|
760
|
-
</td><td>
|
|
761
|
-
|
|
762
|
-
Selects the appropriate template based on the component's state
|
|
763
|
-
|
|
764
|
-
|
|
765
|
-
</td></tr>
|
|
766
|
-
<tr><td>
|
|
767
|
-
|
|
768
|
-
[setLuminance()](./foundation-header.navigation.setluminance.md)
|
|
769
|
-
|
|
770
|
-
|
|
771
|
-
</td><td>
|
|
772
|
-
|
|
773
|
-
|
|
774
|
-
</td><td>
|
|
775
|
-
|
|
776
|
-
|
|
777
|
-
</td></tr>
|
|
778
|
-
<tr><td>
|
|
779
|
-
|
|
780
|
-
[toLocalisedText(text)](./foundation-header.navigation.tolocalisedtext.md)
|
|
781
|
-
|
|
782
|
-
|
|
783
|
-
</td><td>
|
|
784
|
-
|
|
785
|
-
|
|
786
|
-
</td><td>
|
|
787
|
-
|
|
788
|
-
To localised text
|
|
789
|
-
|
|
790
|
-
|
|
791
|
-
</td></tr>
|
|
792
|
-
</tbody></table>
|
|
793
|
-
|