Call a function before tab switch

My order entry process is quite lengthy so I need to save data and retrieve data along the way. I need some guidance coding the process as outlined here:

icon="ti-user" :before-change="beforeTabSwitch">

If you want to save data, you can use a hook,

The wizard also supports ( via the misc tab settings ):
wizardBeforeChange_actions
wizardOnChange_actions

which take an array of actions.

Thanks for the misc. tab info, that’s what I needed.