remove string type
This commit is contained in:
parent
b3b99c8bdf
commit
18aba8c771
|
|
@ -15,7 +15,7 @@ export class FolkBaseConnection extends FolkElement {
|
||||||
}
|
}
|
||||||
`;
|
`;
|
||||||
|
|
||||||
@property({ type: String, reflect: true }) source?: string;
|
@property({ reflect: true }) source?: string;
|
||||||
|
|
||||||
#sourceIframeSelector: string | undefined = undefined;
|
#sourceIframeSelector: string | undefined = undefined;
|
||||||
|
|
||||||
|
|
@ -23,7 +23,7 @@ export class FolkBaseConnection extends FolkElement {
|
||||||
|
|
||||||
@state() sourceRect: DOMRectReadOnly | null = null;
|
@state() sourceRect: DOMRectReadOnly | null = null;
|
||||||
|
|
||||||
@property({ type: String, reflect: true }) target?: string;
|
@property({ reflect: true }) target?: string;
|
||||||
|
|
||||||
#targetIframeSelector: string | undefined = undefined;
|
#targetIframeSelector: string | undefined = undefined;
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
import { property, state } from '@lit/reactive-element/decorators.js';
|
|
||||||
import { ClientRectObserverEntry, FolkElement, FolkObserver, parseDeepCSSSelector } from '@lib';
|
import { ClientRectObserverEntry, FolkElement, FolkObserver, parseDeepCSSSelector } from '@lib';
|
||||||
import { css, CSSResultGroup, PropertyValues } from '@lit/reactive-element';
|
import { css, CSSResultGroup, PropertyValues } from '@lit/reactive-element';
|
||||||
|
import { property, state } from '@lit/reactive-element/decorators.js';
|
||||||
|
|
||||||
const folkObserver = new FolkObserver();
|
const folkObserver = new FolkObserver();
|
||||||
|
|
||||||
|
|
@ -19,7 +19,7 @@ export class FolkBaseSet extends FolkElement {
|
||||||
}
|
}
|
||||||
`;
|
`;
|
||||||
|
|
||||||
@property({ type: String, reflect: true }) sources?: string;
|
@property({ reflect: true }) sources?: string;
|
||||||
|
|
||||||
#sourcesMap = new Map<Element, DOMRectReadOnly>();
|
#sourcesMap = new Map<Element, DOMRectReadOnly>();
|
||||||
get sourcesMap(): ReadonlyMap<Element, DOMRectReadOnly> {
|
get sourcesMap(): ReadonlyMap<Element, DOMRectReadOnly> {
|
||||||
|
|
|
||||||
|
|
@ -42,8 +42,9 @@ export class FolkEventPropagator extends FolkRope {
|
||||||
`,
|
`,
|
||||||
];
|
];
|
||||||
|
|
||||||
@property({ type: String, reflect: true }) trigger?: string;
|
@property({ reflect: true }) trigger?: string;
|
||||||
@property({ type: String, reflect: true }) expression?: string;
|
|
||||||
|
@property({ reflect: true }) expression?: string;
|
||||||
|
|
||||||
#triggerTextarea = document.createElement('textarea');
|
#triggerTextarea = document.createElement('textarea');
|
||||||
#expressionTextarea = document.createElement('textarea');
|
#expressionTextarea = document.createElement('textarea');
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue