Skip to main content

Dash wrapper for split.js

Project description

dash-split

dash-split is a Dash component library that wraps Split.js so it is easy to use from within python.

Usage

Simple example:

import dash
from dash_split import Split
from dash import html

app = dash.Dash(__name__)

style = {
    "height": "90vh",
    "display": "flex",
    "justifyContent": "center",
    "alignItems": "center"
}

app.layout = html.Div([
    Split(
        id='split',
        children=[
            html.Div(id='1', children="a", style=style),
            html.Div(id='2', children="b", style=style),
            html.Div(id='3', children="c", style=style),
        ],
    )
])

if __name__ == '__main__':
    app.run_server(debug=True)

Also see the Split.js react docs, all relevant props are passed to SplitJS directly from dash.

Contributing

See CONTRIBUTING.md

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

dash_split-0.0.4.tar.gz (11.4 kB view details)

Uploaded Source

Built Distribution

dash_split-0.0.4-py3-none-any.whl (12.3 kB view details)

Uploaded Python 3

File details

Details for the file dash_split-0.0.4.tar.gz.

File metadata

  • Download URL: dash_split-0.0.4.tar.gz
  • Upload date:
  • Size: 11.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.6.0 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.63.0 CPython/3.10.2

File hashes

Hashes for dash_split-0.0.4.tar.gz
Algorithm Hash digest
SHA256 59b650ee17c739172894796a69de60f5dc3d0e7916ef3ee6f6e03c7453765665
MD5 52fda48f57af5b7b86f6d0b385b338c2
BLAKE2b-256 0d9c800578ae2f08cace203c7a2909df068599a8e9f9cbcdbcae721d81508410

See more details on using hashes here.

File details

Details for the file dash_split-0.0.4-py3-none-any.whl.

File metadata

  • Download URL: dash_split-0.0.4-py3-none-any.whl
  • Upload date:
  • Size: 12.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.6.0 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.63.0 CPython/3.10.2

File hashes

Hashes for dash_split-0.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 74f070fb730b1550b1511bb22af2ab769aadf7ba83669b54513c9125b775abb7
MD5 2f331941370409a9d7e986c4f3adf186
BLAKE2b-256 4bbc8740dfc569f9f63e982e5898048301239c863880dec0e3f3b8a8435ecc3f

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