kopia lustrzana https://github.com/shoelace-style/shoelace
update docs
rodzic
b24ff33fe0
commit
ddd5b581fa
|
@ -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">
|
||||
|
|
|
@ -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';
|
||||
|
|
Ładowanie…
Reference in New Issue