Get Started
UI Examples/Tutorials
- What is zero-true?
- State in zero-true
- User State in zero-true
- Buttons in Zero-True
- Sliders in zero-true
- Range Sliders in zero-true
- Text Inputs in zero-true
- Text Areas in zero-true
- Displaying a Pandas DataFrame in zero-true
- Displaying a Matplotlib Plot in zero-true
- Displaying a Plotly Plot in zero-true
- CLI
- App Bar
- Toolbar
- Cell Types
- Cells
- Layout
- Publishing
API reference
IFrame
Below are the various attributes you can assign to the component. Utilizing them can allow for modifications to the pre-created object.
id (string): Unique id for a component
src (string): Source URL of the iframe
width (integer | string): Width of the iframe
height (integer | string): Height of the iframe
frameborder (integer): Frame border of the iframe
scrolling (string): Scrolling of the iframe
allowtransparency (boolean): Allow transparency of the iframe
Example Usage
import zero_true as zt
sample_iframe = zt.iFrame(
id = 'sample_iframe', # Unique id for a component
src = '', # Source URL of the iframe
width = '100%', # Width of the iframe
height = '100%', # Height of the iframe
frameborder = 0, # Frame border of the iframe
scrolling = 'auto', # Scrolling of the iframe
allowtransparency = False, # Allow transparency of the iframe
)