File tree Expand file tree Collapse file tree 1 file changed +10
-7
lines changed Expand file tree Collapse file tree 1 file changed +10
-7
lines changed Original file line number Diff line number Diff line change @@ -57,7 +57,9 @@ class SideNavigationSelectableItemBase extends SideNavigationItemBase {
57
57
icon ?: string ;
58
58
59
59
/**
60
- * Defines whether the item is selected
60
+ * Defines whether the item is selected.
61
+ *
62
+ * **Note:** Items that have a set `href` and `target` set to `_blank` should not be selectable.
61
63
*
62
64
* @public
63
65
* @default false
@@ -81,15 +83,16 @@ class SideNavigationSelectableItemBase extends SideNavigationItemBase {
81
83
/**
82
84
* Defines the component target.
83
85
*
84
- * **Notes:**
86
+ * Possible values:
85
87
*
86
88
* - `_self`
87
89
* - `_top`
88
90
* - `_blank`
89
91
* - `_parent`
90
- * - `_search `
92
+ * - `framename `
91
93
*
92
- * **This property must only be used when the `href` property is set.**
94
+ * **Note:** Items that have a defined `href` and `target`
95
+ * attribute set to `_blank` should not be selectable.
93
96
*
94
97
* @public
95
98
* @default undefined
@@ -111,15 +114,15 @@ class SideNavigationSelectableItemBase extends SideNavigationItemBase {
111
114
design : `${SideNavigationItemDesign } ` = "Default" ;
112
115
113
116
/**
114
- * Indicates whether the navigation item is selectable. By default all items are selectable unless specifically marked as unselectable.
117
+ * Indicates whether the navigation item is selectable. By default, all items are selectable unless specifically marked as unselectable.
115
118
*
116
119
* When a parent item is marked as unselectable, selecting it will only expand or collapse its sub-items.
117
120
* To improve user experience do not mix unselectable parent items with selectable parent items in a single side navigation.
118
121
*
119
122
*
120
123
* **Guidelines**:
121
- * - External links should be unselectable.
122
- * - Items that trigger actions (with design "Action") should be unselectable.
124
+ * - Items with an assigned `href` and a target of `_blank` should be marked as unselectable.
125
+ * - Items that trigger actions (with design "Action") should be marked as unselectable.
123
126
*
124
127
* @public
125
128
* @default false
You can’t perform that action at this time.
0 commit comments