I am developing a plugin to extend the original functionality. I need to determine the names of other plugins, but I find that the current plugins have no names. Should I consider giving each built-in plugin a name?
Basic example
I currently do this, but I think it would be nice to give the built-in plugin a name
import lgZoom from 'lightgallery/plugins/zoom'
lgZoom.prototype.name = 'Zoom'
Motivation
I have a requirement to expand the long press event, I need to find the scale variable in the Zoom plugin, so it would be convenient to have a name
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Summary
I am developing a plugin to extend the original functionality. I need to determine the names of other plugins, but I find that the current plugins have no names. Should I consider giving each built-in plugin a name?
Basic example
I currently do this, but I think it would be nice to give the built-in plugin a name
Motivation
I have a requirement to expand the long press event, I need to find the scale variable in the Zoom plugin, so it would be convenient to have a name