Skip to content

Commit

Permalink
Merge pull request #113 from tomstolarczuk/patch-1
Browse files Browse the repository at this point in the history
fix(player): add descendants option in contentchildren
  • Loading branch information
IxquitilisSaid authored Jan 10, 2023
2 parents 93dfdf8 + f07ea31 commit c26fb95
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ export class VgPlayerComponent implements AfterContentInit, OnDestroy {
@Output() onPlayerReady: EventEmitter<VgApiService> = new EventEmitter<VgApiService>();
@Output() onMediaReady: EventEmitter<any> = new EventEmitter();

@ContentChildren(VgMediaDirective) medias: QueryList<VgMediaDirective>;
@ContentChildren(VgMediaDirective, { descendants: true }) medias: QueryList<VgMediaDirective>;

subscriptions: Subscription[] = [];

Expand Down

0 comments on commit c26fb95

Please sign in to comment.