TyphonJS Runtime Library (FVTT) 0.2.0
svelte
SvelteComponent_1
Class SvelteComponent_1<Props, Events>
Base class for Svelte components. Used when dev=false.
Type Parameters
Props
extends
Record
<
string
,
any
>
=
any
Events
extends
Record
<
string
,
any
>
=
any
Hierarchy
SvelteComponent_1 (
View Summary
)
SvelteComponent
Index
Constructors
constructor
Methods
$destroy
$on
$set
Constructors
constructor
new
SvelteComponent_1
<
Props
extends
Record
<
string
,
any
>
=
any
,
Events
extends
Record
<
string
,
any
>
=
any
,
>
()
:
SvelteComponent_1
<
Props
,
Events
>
Type Parameters
Props
extends
Record
<
string
,
any
>
=
any
Events
extends
Record
<
string
,
any
>
=
any
Returns
SvelteComponent_1
<
Props
,
Events
>
Methods
$destroy
$destroy
()
:
void
Returns
void
$on
$on
<
K
extends
string
>
(
type
:
K
,
callback
:
(
e
:
Events
[
K
]
)
=>
void
)
:
()
=>
void
Type Parameters
K
extends
string
Parameters
type
:
K
callback
:
(
e
:
Events
[
K
]
)
=>
void
Returns
()
=>
void
$set
$set
(
props
:
Partial
<
Props
>
)
:
void
Parameters
props
:
Partial
<
Props
>
Returns
void
Settings
Member Visibility
Inherited
Protected
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Methods
$destroy
$on
$set
Demo - Essential Svelte ESM
TyphonJS Runtime Library (FVTT) 0.2.0
Base class for Svelte components. Used when dev=false.