You can retrieve the full path of the Module’s static asset like Images, Javascript, or CSS file path using Magento 2.
If you want to get the full path of the view directory for the frontend or backend area, You need to use Magento\Framework\View\Asset\Repository class to achieve the task. Continue reading “How to Get Module’s view directory image or js full path using Magento 2?”