79597897

Date: 2025-04-29 08:13:15
Score: 2
Natty:
Report link

First, you will need to extend the Media interface and add the title parameter to it.

Then you can create a CustomMediaComponent, extend it from the default MediaComponent. Copy the html to be the same and change [title]="media.title". You can now call in the ProductImageZoomProductImagesComponent.

or you can get a new parameter with @Input in the CustomMediaComponent without extending the Media model at all and send your title value this way.

Reasons:
  • No code block (0.5):
  • User mentioned (1): @Input
  • Low reputation (0.5):
Posted by: Mehmet S