I have a “remove from cart” button that’s displayed on a v-for generated list of items.
Currently @click I run a named action with the following:
{
"action": "runUtilityHook",
"function": "// Mutate $$BF_Model here to remove item",
"options": {
"type": "saveCart"
}
}
Since I call a utility action here to store the cart contents on the filemaker side after update. I’d like to add a three second throttle so if users click a number of different items within say 3 seconds, it is throttled so only one saveCart utility hook is fired.
Is there an example for using the existing throttle action for this? throttle - FM BetterForms