nicegui extensions
Project description
nicegui_super_extensions
provide extension features for Nicegui
extensions
markdown
install
pip install nicegui_super_extensions
how to use it
- step 1, load Dependence before page require
from nicegui_super_extensions.markdown_renderer import MarkdownPreViewer, initMarkdownPreViewerDependence
initMarkdownPreViewerDependence()
- step 2, create widget and render markdown
md = MarkdownPreViewer().render(markdown)
- (optional)step 3, update markdown
md.render(new_markdown)
reconnect_box
-
before
-
after
how to use it
- step 1
from nicegui_super_extensions.reconnect_box import set_reconnect_box
- step 2
# just can use after page load
set_reconnect_box()
# after page load to use it
app.on_connect(lambda: set_reconnect_box())
reorderable
let an item reorderable in row or column
how to use it
- step 1
nicegui_super_extensions.reorderable import ReorderableItem,ReorderableColumn
- step 2
with ReorderableColumn() as col:
with ReorderableItem() as draggable:
ui.label("Draggable Item 1")
with ReorderableItem() as draggable:
ui.label("Draggable Item 2")
with ReorderableItem() as draggable:
ui.label("Draggable Item 3")
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file nicegui_super_extensions-0.0.3.tar.gz
.
File metadata
- Download URL: nicegui_super_extensions-0.0.3.tar.gz
- Upload date:
- Size: 11.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.10.14
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 740ef10debfae1df310377d670e39e1b39baa5295cdb1c5c36216155ae7ab435 |
|
MD5 | 53593d307090502375b27f98628e6a15 |
|
BLAKE2b-256 | bd4519a988338856dadb377316d2d4f09b019a379d1b0f12525f1c183daad0ae |
File details
Details for the file nicegui_super_extensions-0.0.3-py3-none-any.whl
.
File metadata
- Download URL: nicegui_super_extensions-0.0.3-py3-none-any.whl
- Upload date:
- Size: 7.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.10.14
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2490c25f6f201cb0447ea4f490a6a54a5a42d788533e14e7e27d54888d1a6141 |
|
MD5 | be6c5abc7dd2add086913b6f6e88ffb2 |
|
BLAKE2b-256 | 83aa0b29a8fb974e3abd0662633ec4122583c80d830ff95809ba6204370eba5c |