thebe-core / Exports / IThebeCell
Hierarchy¶
↳
IThebeCell
Implemented by¶
Table of contents¶
Properties¶
Methods¶
Properties¶
id¶
• Readonly
id: string
Inherited from¶
Defined in¶
isAttached¶
• Readonly
isAttached: boolean
Defined in¶
isAttachedToDOM¶
• Readonly
isAttachedToDOM: boolean
Inherited from¶
Defined in¶
isBusy¶
• Readonly
isBusy: boolean
Defined in¶
metadata¶
• metadata: JsonObject
Defined in¶
notebookId¶
• Readonly
notebookId: string
Defined in¶
outputs¶
• Readonly
outputs: IOutput
[]
Inherited from¶
Defined in¶
rendermime¶
• Readonly
rendermime: IRenderMimeRegistry
Inherited from¶
Defined in¶
session¶
• Optional
session: ThebeSession
Defined in¶
source¶
• source: string
Defined in¶
tags¶
• Readonly
tags: string
[]
Defined in¶
Methods¶
attachSession¶
▸ attachSession(session
): void
Parameters¶
Name | Type |
---|---|
session | ThebeSession |
Returns¶
void
Defined in¶
attachToDOM¶
▸ attachToDOM(el?
): void
Parameters¶
Name | Type |
---|---|
el? | HTMLElement |
Returns¶
void
Inherited from¶
Defined in¶
clear¶
▸ clear(): void
Returns¶
void
Inherited from¶
Defined in¶
clearOnError¶
▸ clearOnError(error?
): void
Parameters¶
Name | Type |
---|---|
error? | any |
Returns¶
void
Inherited from¶
Defined in¶
detachSession¶
▸ detachSession(): void
Returns¶
void
Defined in¶
packages/core/src/types.ts:100
execute¶
▸ execute(source?
): Promise
<null
| IThebeCellExecuteReturn
>
Parameters¶
Name | Type |
---|---|
source? | string |
Returns¶
Promise
<null
| IThebeCellExecuteReturn
>
Defined in¶
packages/core/src/types.ts:101
render¶
▸ render(outputs
): void
Parameters¶
Name | Type |
---|---|
outputs | IOutput [] |
Returns¶
void
Inherited from¶
Defined in¶
setAsBusy¶
▸ setAsBusy(): void
Returns¶
void
Defined in¶
packages/core/src/types.ts:102
setAsIdle¶
▸ setAsIdle(): void
Returns¶
void
Defined in¶
packages/core/src/types.ts:103
setOutputText¶
▸ setOutputText(text
): void
Parameters¶
Name | Type |
---|---|
text | string |
Returns¶
void