Angular Material 2 MatMenu - Dynamically creation

Viewed 23808

I need to dynamically create a bunch of MatMenu. So far I have no idea of how I can:

1 - Create a template reference variable dynamically (for the mat-menu component)

2 - Reference the dynamically created variable (to use in the [matMenuTriggerFor] attribute of the trigger)

I've searched a little and found nothing about it.

Does anyone manage do deal with it?

1 Answers
Related