forked from MapComplete/MapComplete
chore: automated housekeeping...
This commit is contained in:
parent
a190597905
commit
087e639020
382 changed files with 29496 additions and 2675 deletions
|
|
@ -25,14 +25,19 @@ export default class SvelteUIElement<
|
|||
private tag: "div" | "span" = "div"
|
||||
public readonly isSvelte = true
|
||||
|
||||
constructor(svelteElement : {
|
||||
new (args: {
|
||||
target: HTMLElement
|
||||
props: Props
|
||||
events?: Events
|
||||
slots?: Slots
|
||||
}): SvelteComponentTyped<Props, Events, Slots>
|
||||
}, props?: Props, events?: Events, slots?: Slots) {
|
||||
constructor(
|
||||
svelteElement: {
|
||||
new (args: {
|
||||
target: HTMLElement
|
||||
props: Props
|
||||
events?: Events
|
||||
slots?: Slots
|
||||
}): SvelteComponentTyped<Props, Events, Slots>
|
||||
},
|
||||
props?: Props,
|
||||
events?: Events,
|
||||
slots?: Slots
|
||||
) {
|
||||
super()
|
||||
this._svelteComponent = <any>svelteElement
|
||||
this._props = props ?? <Props>{}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue