Is there a way to retrieve the background-image
of an <p>
element in Angular/Typescript? For example, if we have the following element and only want to extract the image value image.jpeg
, how can this be achieved?
<p
class="employer__image"
style='background-image: url("image.jpeg")'>
</p>