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 hashes)
Built Distribution
dash_split-0.0.4-py3-none-any.whl
(12.3 kB
view hashes)
Close
Hashes for dash_split-0.0.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 74f070fb730b1550b1511bb22af2ab769aadf7ba83669b54513c9125b775abb7 |
|
MD5 | 2f331941370409a9d7e986c4f3adf186 |
|
BLAKE2b-256 | 4bbc8740dfc569f9f63e982e5898048301239c863880dec0e3f3b8a8435ecc3f |