embed#

Interfaces#

ServerOptions#

Defined in: client/src/index.ts:66

Where a server is and how to authenticate to it.

Properties#

token#

readonly token: string | null

Defined in: client/src/index.ts:70

The run’s token, sent as Authorization: Bearer <token>; null sends no header.

url#

readonly url: string

Defined in: client/src/index.ts:68

The base URL of the server’s API, ending in /: api/ for the page tilie serves.

Functions#

mount()#

mount(element, options?): TimeLineEditor

Defined in: editor/src/embed.ts:30

Mount an editor into element, which must be empty and give the editor a definite height. Throws when element has children or already holds an editor. The licence texts are linked beside this module unless options.noticesUrl names them elsewhere.

Parameters#

element#

HTMLElement

options?#

TimeLineEditorOptions = {}

Returns#

TimeLineEditor

References#

Status#

Re-exports Status


StorageOptions#

Re-exports StorageOptions


TimeLineEditor#

Re-exports TimeLineEditor


TimeLineEditorOptions#

Re-exports TimeLineEditorOptions