I am create a Dynamic Dashboard with the Perspective Dashboard component and keep running into the problem of not being able to capture which dashboard component I currently have selected or editing. Is there a selected/editing/deleted property I can use on on the dashboard component?
I have found a "configuring" param I can use on the embedded view side, but on the dashboard side I have no way of knowing which widget I selected for editing or removed.
I do not think you will find a way to capture the "editing" target behavior, but you can setup a system with scripts on view focus events so that the active runtime Dashboard tracks which Widget is most recently focused.
One approach is adding a Custom Session Property to track the focusedWidget.
Then, on the embedded views that are used as widgets, on the Root Containers of the views use Focus Events (onFocus) to update the custom session prop as focus changes between components in the widget views. Use the custom property value as needed.