Skip to content

Commit b7d6a35

Browse files
improve REAMDE
Signed-off-by: Richard Barella <ribab127@gmail.com>
1 parent 928e99d commit b7d6a35

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

README.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -60,8 +60,6 @@ app.layout = html.Div([
6060
Output("output", "children"),
6161
Input("input", "value"),
6262
clientside=True,
63-
enable_es6=True,
64-
enable_stage3=True,
6563
prevent_initial_call=True
6664
)
6765
def update_output(value):
@@ -78,7 +76,7 @@ The `callback` function takes the following additional arguments:
7876
* `clientside`: A boolean indicating whether the callback should be executed on the client-side (default is `False`).
7977
* `enable_es6`: A boolean indicating whether to enable ES6 syntax in the generated JavaScript code (default is `True`).
8078
* `enable_stage3`: A boolean indicating whether to enable Stage 3 syntax in the generated JavaScript code (default is `True`).
81-
* `prevent_initial_call`: A boolean indicating whether to prevent the callback from being called on the initial render (default is `False`).
79+
* `*args` and `**kwargs`: Any arguments and keyword-arguments supported by `dash.callback` are also supported by `better-dash-callback.callback`
8280

8381
## Installation
8482

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
setup(
77
name='better-dash-callback',
8-
version='0.1.1',
8+
version='0.1.2',
99
description='Runs clientside callback functions in Dash applications using Python syntax, eliminating the need for inline JavaScript.',
1010
author='Richard Barella Jr.',
1111
author_email='codingwithricky@gmail.com',

0 commit comments

Comments
 (0)