mirror of
https://github.com/shoelace-style/webawesome.git
synced 2026-01-12 12:09:26 +00:00
fix attr
This commit is contained in:
@@ -58,7 +58,7 @@ export default class SlDropdown extends LitElement {
|
||||
@property({ attribute: 'close-on-select', type: Boolean, reflect: true }) closeOnSelect = true;
|
||||
|
||||
/** The dropdown will close when the user interacts outside of this element (e.g. clicking). */
|
||||
@property() containingElement: HTMLElement;
|
||||
@property({ attribute: false }) containingElement: HTMLElement;
|
||||
|
||||
/** The distance in pixels from which to offset the panel away from its trigger. */
|
||||
@property({ type: Number }) distance = 2;
|
||||
|
||||
Reference in New Issue
Block a user