Skip to main content

nicegui extensions

Project description

nicegui_super_extensions

provide extension features for Nicegui

English  |  简体中文

extensions

markdown

  • powered by vditorvditor, you can see the feature from here

install

pip install nicegui_super_extensions 

how to use it

  1. step 1, load Dependence before page require
from nicegui_super_extensions.markdown_renderer import MarkdownPreViewer, initMarkdownPreViewerDependence
initMarkdownPreViewerDependence()
  1. step 2, create widget and render markdown
md = MarkdownPreViewer().render(markdown)
  1. (optional)step 3, update markdown
md.render(new_markdown)

reconnect_box

  • before

    before

  • after

    after

how to use it

  1. step 1
from nicegui_super_extensions.reconnect_box import set_reconnect_box
  1. 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

  1. step 1
nicegui_super_extensions.reorderable import ReorderableItem,ReorderableColumn
  1. 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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

nicegui_super_extensions-0.0.3.tar.gz (11.6 kB view details)

Uploaded Source

Built Distribution

File details

Details for the file nicegui_super_extensions-0.0.3.tar.gz.

File metadata

File hashes

Hashes for nicegui_super_extensions-0.0.3.tar.gz
Algorithm Hash digest
SHA256 740ef10debfae1df310377d670e39e1b39baa5295cdb1c5c36216155ae7ab435
MD5 53593d307090502375b27f98628e6a15
BLAKE2b-256 bd4519a988338856dadb377316d2d4f09b019a379d1b0f12525f1c183daad0ae

See more details on using hashes here.

File details

Details for the file nicegui_super_extensions-0.0.3-py3-none-any.whl.

File metadata

File hashes

Hashes for nicegui_super_extensions-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 2490c25f6f201cb0447ea4f490a6a54a5a42d788533e14e7e27d54888d1a6141
MD5 be6c5abc7dd2add086913b6f6e88ffb2
BLAKE2b-256 83aa0b29a8fb974e3abd0662633ec4122583c80d830ff95809ba6204370eba5c

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page