Sure. As it appears that each instance on the page has a different item associated with it, you already have a unique identifier that can be accessed throughout the widget which is fully compatible with a css class name: props.item.
All you need to do is incorporate the props.item string into the class name of the popup in the widget. For example:
popupOpen: ='.myPopupOpenDI' + props.item
The only trick to this is that in the popup itself
class:
- '.myPopupOpenDI' + props.item
won’t work because of the way the array elements are processed. However, as long as this is the only class that you are assigning to the popup up you can just use
class: ='.myPopupOpenDI' + props.item
just like in the open and close calls. If you need multiple classes, then it gets only a little more difficult because you need to build the array as a string.