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
Copy file name to clipboardexpand all lines: packages/action-menu/README.md
+2-2
Original file line number
Diff line number
Diff line change
@@ -276,7 +276,7 @@ When `selects` is set to `single`, the `<sp-action-menu>` element will maintain
276
276
277
277
## Force Popover on Mobile Devices
278
278
279
-
On mobile, the menu can be exposed in either a `sp-popover` or `sp-tray`. By default, `sp-action-menu` will render an `sp-tray`. If you would like to render `sp-popover` on mobile, add the attribute `forcePopover` to the `sp-action-menu`.
279
+
On mobile, the menu can be exposed in either a `sp-popover` or `sp-tray`. By default, `sp-action-menu` will render an `sp-tray`. If you would like to render `sp-popover` on mobile, add the attribute `force-popover` to the `sp-action-menu`.
280
280
281
281
Usage Guidance:
282
282
@@ -286,7 +286,7 @@ Usage Guidance:
286
286
To see this functionality in action, load this page from your mobile device or use Chrome DevTools (or equivalent) and select a mobile device once the Device Toolbar (the phone/tablet icon) is active.
Copy file name to clipboardexpand all lines: packages/picker/README.md
+4-7
Original file line number
Diff line number
Diff line change
@@ -137,7 +137,7 @@ When using `<sp-menu-item>` elements without text content, be sure to use the `v
137
137
</sp-picker>
138
138
```
139
139
140
-
##### Advanced icon management
140
+
#### Advanced icon management
141
141
142
142
The `icons` attribute manages how the selected item will appear. Set `icons="only"` to display only the selected item's icon in the `<sp-picker>` element, or `icons="none"` to display the selected item text without the icon `<sp-picker>`.
143
143
@@ -564,11 +564,11 @@ While in pending state, `<sp-picker>` elements will not respond to click events
564
564
</sp-tab-panel>
565
565
</sp-tabs>
566
566
567
-
## Behaviors
567
+
### Behaviors
568
568
569
569
#### Force Popover on Mobile Devices
570
570
571
-
On mobile, the menu can be exposed in either a `sp-popover` or `sp-tray`. By default, `sp-picker` will render an `sp-tray`. If you would like to render `sp-popover` on mobile, add the attribute `forcePopover` to the `sp-picker`.
571
+
On mobile, the menu can be exposed in either a `sp-popover` or `sp-tray`. By default, `sp-picker` will render an `sp-tray`. If you would like to render `sp-popover` on mobile, add the attribute `force-popover` to the `sp-picker`.
572
572
573
573
Usage Guidance:
574
574
@@ -589,15 +589,12 @@ To see this functionality in action, load this page from your mobile device or u
589
589
<sp-field-label for="picker-popover">
590
590
Do you want to see a popover menu?
591
591
</sp-field-label>
592
-
<sp-picker id="picker-popover" label="Select an option" forcePopover>
592
+
<sp-picker id="picker-popover" label="Select an option" force-popover>
0 commit comments