You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/** Whether to include the skip link. Defaults to `true`. */
46
77
get skipLink() {
47
78
returnthis.args.skipLink??true;
48
79
}
49
80
50
-
/*
51
-
* @param skipTo
52
-
* @type {string}
53
-
* @description Element selector for what the skip link should jump to. A default is provided but this can be customized.
54
-
* @default '#main'
55
-
*/
81
+
/** Selector for the skip link target. Defaults to `'#main'`. */
56
82
get skipTo() {
57
83
returnthis.args.skipTo??'#main';
58
84
}
59
85
60
-
/*
61
-
* @param skipText
62
-
* @type {string}
63
-
* @description text of the bypass block/skip link. Default text is provided but it can be customized.
64
-
* @default 'Skip to main content'
65
-
*/
86
+
/** Text for the skip link. Defaults to `'Skip to main content'`. */
66
87
get skipText() {
67
88
returnthis.args.skipText??'Skip to main content';
68
89
}
69
90
70
-
/*
71
-
* @param navigationText
72
-
* @type {string}
73
-
* @description The text to be read by the screen reader when the page navigation is complete. While a default message is provided, it can be customized to better fit the needs of your application.
74
-
* @default 'The page navigation is complete. You may now navigate the page content as you wish.'
75
-
*/
91
+
/** Text announced by screen readers after route transition. */
76
92
get navigationText() {
77
93
return (
78
94
this.args.navigationText??
79
95
'The page navigation is complete. You may now navigate the page content as you wish.'
80
96
);
81
97
}
82
98
83
-
/*
84
-
* @param routeChangeValidator
85
-
* @type {function}
86
-
* @description A function that can be used to provide a custom definition of a route transition. Typically used if you have some query params that you don't want to trigger the route transition (but you would otherwise mostly want it to behave per Ember's default).
* @description Whether or not to include all query params in definition of a route transition. If you want to include/exclude _some_ query params, the routeChangeValidator function should be used instead.
96
-
* @default false
97
-
*/
104
+
/** Whether to ignore query param changes. Defaults to `false`. */
98
105
get excludeAllQueryParams() {
99
106
returnthis.args.excludeAllQueryParams??false;
100
107
}
101
108
102
-
/*
103
-
* @param hasQueryParams
104
-
* @type {boolean}
105
-
* @description Check for queryParams.
106
-
* @default false
107
-
*/
109
+
/** Whether the current transition includes query param changes. */
0 commit comments