I'm developing a custom widget and one of the feature I want to implement is to allow users to 'zoom and pan to' a feature in a feature layer after clicking on a button that correspond to the feature name.
This is similar to what the List widget is doing with Data Action.
According to the SDK documentation I should declare the 'pan to' and 'zoom to' data actions in the manifest.json and create a class that extends AbstractDataAction. However I didn't find any example that specifies the target widget and the zoom/pan to actions. Can someone guide me to a few good examples of how to direct Data Actions in a custom widget?