pull/695/head
Cory LaViska 2022-02-21 09:13:33 -05:00
rodzic b24ff33fe0
commit ddd5b581fa
2 zmienionych plików z 2 dodań i 2 usunięć

Wyświetl plik

@ -396,7 +396,7 @@ const App = () => (
### Placement
The preferred placement of the dropdown can be set with the `placement` attribute. Note that the actual position may vary to ensure the panel remains in the viewport.
The preferred placement of the select's menu can be set with the `placement` attribute. Note that the actual position may vary to ensure the panel remains in the viewport. Valid placements are `top` and `bottom`.
```html preview
<sl-select placement="top">

Wyświetl plik

@ -122,7 +122,7 @@ export default class SlSelect extends LitElement {
@property() label = '';
/**
* The preferred placement of the dropdown panel. Note that the actual placement may vary as needed to keep the panel
* The preferred placement of the select's menu. Note that the actual placement may vary as needed to keep the panel
* inside of the viewport.
*/
@property() placement: 'top' | 'bottom' = 'bottom';