Interface: Island()<TInput, _TStateMap>
Type Parameters
TInput
TInput = Record<string, unknown>
_TStateMap
_TStateMap extends Record<string, unknown> = Record<string, unknown>
Island(
props?):string|Promise<string>
Parameters
props?
Partial<TInput>
Returns
string | Promise<string>
Properties
[ISLAND]
[ISLAND]:
true
Methods
hydratable()
hydratable(
props,options):Promise<string>
Parameters
props
Partial<TInput>
options
Returns
Promise<string>
key()
key(
key):KeyedIsland<TInput>
Parameters
key
string
Returns
KeyedIsland<TInput>
mount()
mount(
host,props?): () =>void
Parameters
host
Element
props?
Partial<TInput>
Returns
():
void
Returns
void
toString()
toString(
props?):string
Parameters
props?
Partial<TInput>
Returns
string