@sqlrooms/app-runtime / createHtmlAppBlockDefinition
Function: createHtmlAppBlockDefinition()
createHtmlAppBlockDefinition<
TRoomState>(__namedParameters?):StatefulBlockDefinition<TRoomState>
Creates the html-app stateful block definition for block documents and artifact shells.
Type Parameters
| Type Parameter | Default type |
|---|---|
TRoomState extends HtmlAppRuntimeSliceState | HtmlAppRuntimeSliceState |
Parameters
| Parameter | Type |
|---|---|
__namedParameters | CreateHtmlAppBlockDefinitionOptions<TRoomState> |
Returns
StatefulBlockDefinition<TRoomState>
