-
Notifications
You must be signed in to change notification settings - Fork 10.4k
Open
Labels
Pillar: Complete Blazor Webaffected-fewThis issue impacts only small number of customersThis issue impacts only small number of customersarea-blazorIncludes: Blazor, Razor ComponentsIncludes: Blazor, Razor ComponentsenhancementThis issue represents an ask for new feature or an enhancement to an existing oneThis issue represents an ask for new feature or an enhancement to an existing onefeature-razor.languageseverity-minorThis label is used by an internal toolThis label is used by an internal tool
Milestone
Description
I was searching for documentation on how to capture references to child-components based on for-each creation.
Let's say I have a parent-component which itereates a collection to create multiple child-components:
@foreach (var singleDataPiece in aCollectionOfData)
{
<SubComponent Id="@singleDataPiece.Id" SingleDataPiece="@singleDataPiece"></SubComponent>
}
I would like to call a method on one of these sub-components, identified by its id-value. Would you consider adding documentation on this scenario?
Many thanks in advance for your consideration.
fitdev, agoodwin, Dennis-Petrov and tthiery
Metadata
Metadata
Assignees
Labels
Pillar: Complete Blazor Webaffected-fewThis issue impacts only small number of customersThis issue impacts only small number of customersarea-blazorIncludes: Blazor, Razor ComponentsIncludes: Blazor, Razor ComponentsenhancementThis issue represents an ask for new feature or an enhancement to an existing oneThis issue represents an ask for new feature or an enhancement to an existing onefeature-razor.languageseverity-minorThis label is used by an internal toolThis label is used by an internal tool