I have a very simple question of button event. I just want to know how to check whether a button is click or not in callback. Yes, we can check how many times a button is clicked. But i want to know whether we can check the click event or not.
Example -
html.Button('Click Me', id='button')
@app.callback(Output('----','----'),
[Input('button','n_clicks'),
Input('----','-----')
Input('-----','-------')])
def clickevent(n_clicks):
if **button clicked**:
do this
do this
There are number of inputs in which button input also. If button is click i want to do some extra stuff.Is it possible to check whether a button is click or not.
Thanks