livecodes
Modules
Interfaces
Functions
createPlayground
▸ createPlayground(container
, options?
): Promise
<Playground
>
Creates a LiveCodes playground.
Parameters
Name | Type | Description |
---|---|---|
container | string | HTMLElement | The container where the playground will be rendered. |
options? | EmbedOptions | The embed options for the playground (optional). |
Returns
Promise
<Playground
>
- A promise that resolves to the created playground.
Defined in
▸ createPlayground(options
): Promise
<Playground
>
Parameters
Name | Type |
---|---|
options | EmbedOptions & { view : "headless" } |
Returns
Promise
<Playground
>