We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2a655db commit 8794139Copy full SHA for 8794139
packages/uui-modal/lib/uui-modal-sidebar.element.ts
@@ -1,9 +1,17 @@
1
import { css, html, PropertyValueMap } from 'lit';
2
-import { customElement } from 'lit/decorators.js';
+import { customElement, property } from 'lit/decorators.js';
3
import { UUIModalElement } from './uui-modal.element';
4
5
+export type UUIModalSidebarSize = 'small' | 'medium' | 'large' | 'full';
6
+
7
@customElement('uui-modal-sidebar')
8
export class UUIModalSidebarElement extends UUIModalElement {
9
+ /**
10
+ * @attr
11
+ */
12
+ @property({ reflect: true })
13
+ size: UUIModalSidebarSize = 'full';
14
15
constructor() {
16
super();
17
this.addEventListener('close', this.#onClose.bind(this));
0 commit comments