Part 3 — APP Handlers [Handle Events and Errors]
In this part, we will introduce you to app handlers and tell you what they are for.
Table of contents
Step 1 — Handle HTML events
<div>
<el-button
type="success"
@click="command('normal_handler')">
Call normal handler
</el-button>
</div>@app.callback('normal_handler')
def normal_handler(api: sly.Api, task_id, context, state, app_logger):Step 2 — Dialog window instead of an error
Step 3 — Results
Last updated