I have following app structure: I would like to reset the states of the forms in the header and content from the Parent component. I tried to use @ ...
I have following app structure: I would like to reset the states of the forms in the header and content from the Parent component. I tried to use @ ...
I'm trying to create a carousel component that has n amount of child components based on whatever size list it will get. I want the parent (carousel) ...
I've a parent component from which is possible to open various tab containing the child component This is a part of parent component: in .ts: Th ...
I have the below code in the parent.component.ts file, where I'm accessing the child grid as QueryList using @ViewChildren. I have this below funct ...
(Angular CLI: 1.7.4) I am using ViewChildren in a component. It is working fine if I define it as However, when I specify the type of testComponen ...
I'm creating a number of ModuleItemComponents using the following Angular markup: and the following code lives in the corresponding .ts file: I' ...
I have a case where I have a parent component and 2 child component (selection components based on ng-select) The idea is that when I select and item ...
I used @ViewChildren component: } but when trying to call async variable data, return undefind What can I do to solve this problem? ...
I'm using Angular 10, and trying to use QueryList, with the code below (just like many examples on the web) HTML TS When running console.log(th ...
I have one parent component and multiple children components. I'd to get children's valid reactive form value when I click a button in parent componen ...
With the DOM snippets below: I would like from ng-comp3 to list all components ng-comp1 in DOM document. There is a way for that ? ViewChildren li ...
In my app, on click of an element I am showing a tooltip that contains additional information. This is available for all elements in a list. I would l ...
I have a QueryList of objects. I need to reorder the DOM element based on user interaction: @ViewChildren('mytemplate') temp: QueryList<MyObje ...
When i have nested ngFor how to group children by parent ngFor? So i had something like this: html: ts: And i want to achieve this html: a ...