API Docs
shinyobservable.Observable
Bases: object
Create an Observable notebook instance
Parameters:
Name | Type | Description | Default |
---|---|---|---|
notebook |
str
|
The URL of the notebook to be embedded. |
required |
cells |
list
|
The cells to be embedded. If |
None
|
width |
int | str
|
The width of the notebook element. |
None
|
Source code in shinyobservable/_core.py
shinyobservable.ObservableRenderer
Bases: Renderer[Observable]
A decorator for a function that returns an Observable
object
Source code in shinyobservable/render.py
shinyobservable.output_observable(id)
Create an output control for an Observable
object
Parameters:
Name | Type | Description | Default |
---|---|---|---|
id |
str
|
An output id. |
required |
Source code in shinyobservable/ui.py
shinyobservable.ObservableContext
Bases: object
Create an Observable context instance
Parameters:
Name | Type | Description | Default |
---|---|---|---|
id |
str
|
The output id of the notebook instance to be updated. |
required |
session |
Session
|
A Shiny session. If |
None
|