core/list-group/list-item-selection.model.ts

Description

A radio or checkbox that a list item can name and select on behalf of the row.

The two find each other by injection rather than by @ContentChild: a control rendered from another component's template is not content of the row, so a content query cannot see it, while its element injector still resolves to the c8y-li that component sits in. Injection follows the template in which an element is declared, so a control inside an ng-template created elsewhere and inserted into the row would resolve to where that template was declared instead.

Relationships

Depends on

No results matching.

results matching ""

    No results matching ""