Trigger useCustom on click

Is there any way to trigger an useCustom on click on a button ?
Was this page helpful?