Button Trigger Callback

Button Trigger Callback

shannonwregeshannonwrege Posts: 22Questions: 9Answers: 0

Does the button trigger function allow a callback? I am triggering an export of a big table, and I want to show a custom spinner while the export is being generated.

Answers

  • colincolin Posts: 15,146Questions: 1Answers: 2,586

    Hi @shannonwrege ,

    We're about to release a new version of Buttons which includes an additional event called buttons-processing - this is triggered whenever a button goes in and out of processing mode. This should be available this week, or early next at the latest.

    Cheers,

    Colin

  • colincolin Posts: 15,146Questions: 1Answers: 2,586

    Hi @shannonwrege ,

    This thread should help, it's showing how to do a busy indicator.

    Cheers,

    Colin

This discussion has been closed.