@angular/core#ContentChildren TypeScript Examples
The following examples show how to use
@angular/core#ContentChildren.
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: dxc-application-layout.component.ts From halstack-angular with Apache License 2.0 | 5 votes |
@ContentChildren(DxcFooterComponent)
dxcFooter: QueryList<DxcFooterComponent>;
Example #2
Source File: drawer-nav-item.component.ts From angular-component-library with BSD 3-Clause "New" or "Revised" License | 5 votes |
@ContentChildren(DrawerNavItemComponent, { descendants: false }) nestedNavItems;
Example #3
Source File: link-active.directive.ts From router with MIT License | 5 votes |
@ContentChildren(LinkTo, { descendants: true })
public links: QueryList<LinkTo>;
Example #4
Source File: tab-header.component.ts From alauda-ui with MIT License | 5 votes |
@ContentChildren(TabLabelWrapperDirective)
/**
* workaround for @link https://github.com/microsoft/TypeScript/pull/42425
*/
_labelWrappers: QueryList<TabLabelWrapperDirective & { disabled?: boolean }>;
Example #5
Source File: np-radio-group.component.ts From np-ui-lib with MIT License | 5 votes |
@ContentChildren(NpRadioButtonComponent)
radioButtons: QueryList<NpRadioButtonComponent>;
Example #6
Source File: radio_control_value_accessor.ts From angular-miniprogram with MIT License | 5 votes |
@ContentChildren(forwardRef(() => RadioControl), { descendants: true })
children!: QueryList<RadioControl>;
Example #7
Source File: gantt.component.ts From ngx-gantt with MIT License | 5 votes |
@ContentChildren(NgxGanttTableColumnComponent, { descendants: true }) columns: QueryList<NgxGanttTableColumnComponent>;
Example #8
Source File: vg-player.component.ts From ngx-videogular with MIT License | 5 votes |
@ContentChildren(VgMediaDirective) medias: QueryList<VgMediaDirective>;
Example #9
Source File: focus-key-list.directive.ts From sba-angular with MIT License | 5 votes |
@ContentChildren(FocusKeyListItemDirective) components: QueryList<FocusKeyListItemDirective>;
Example #10
Source File: app-sidenav-container.component.ts From youpez-admin with MIT License | 5 votes |
@ContentChildren(AppSidenavComponent) sidenavs: QueryList<AppSidenavComponent>
Example #11
Source File: np-tabs.component.ts From np-ui-lib with MIT License | 5 votes |
@ContentChildren(NpTabComponent) tabs: QueryList<NpTabComponent>;
Example #12
Source File: tab-group.component.ts From alauda-ui with MIT License | 5 votes |
@ContentChildren(TabComponent)
_tabs: QueryList<TabComponent>;
Example #13
Source File: np-accordion.component.ts From np-ui-lib with MIT License | 5 votes |
@ContentChildren(NpAccordionItemComponent)
items: QueryList<NpAccordionItemComponent>;
Example #14
Source File: editable-group.directive.ts From edit-in-place with MIT License | 5 votes |
@ContentChildren(EditableComponent, { descendants: true }) children: QueryList<EditableComponent>;
Example #15
Source File: path.ts From canvas with MIT License | 5 votes |
@ContentChildren(CANVAS_METHOD as any)
private readonly pathSteps: QueryList<CanvasMethod> = new QueryList();
Example #16
Source File: dxc-wizard.component.ts From halstack-angular with Apache License 2.0 | 5 votes |
@ContentChildren(DxcWizardStepComponent)
dxcWizardSteps: QueryList<DxcWizardStepComponent>;
Example #17
Source File: table-row.component.ts From canopy with Apache License 2.0 | 5 votes |
@ContentChildren(LgTableHeadCellComponent)
headCells: QueryList<LgTableHeadCellComponent>;
Example #18
Source File: chat.component.ts From qd-messages-ts with GNU Affero General Public License v3.0 | 5 votes |
@ContentChildren(NbChatMessageComponent) messages: QueryList<NbChatMessageComponent>;
Example #19
Source File: text-input.component.ts From pantry_party with Apache License 2.0 | 5 votes |
@ContentChildren(FormErrorTextComponent) errorMessages!: QueryList<FormErrorTextComponent>;
Example #20
Source File: tabs.component.ts From canopy with Apache License 2.0 | 5 votes |
@ContentChildren(forwardRef(() => LgTabItemComponent), {
descendants: true,
})
tabQueryList: QueryList<LgTabItemComponent>;
Example #21
Source File: anchor.directive.ts From alauda-ui with MIT License | 5 votes |
@ContentChildren(AnchorLabelDirective, { descendants: true })
anchorLabels: QueryList<AnchorLabelDirective>;
Example #22
Source File: table-row.component.ts From canopy with Apache License 2.0 | 5 votes |
@ContentChildren(LgTableCellComponent) bodyCells: QueryList<LgTableCellComponent>;
Example #23
Source File: form-item.component.ts From alauda-ui with MIT License | 5 votes |
@ContentChildren(FormItemAddonDirective)
addons: QueryList<FormItemAddonDirective>;
Example #24
Source File: ngx-splide.component.ts From ngx-splide with MIT License | 5 votes |
@ContentChildren(NgxSplideSlideComponent) public slides: QueryList<NgxSplideSlideComponent>;
Example #25
Source File: form-item.component.ts From alauda-ui with MIT License | 5 votes |
@ContentChildren(NgControl, { descendants: true })
ngControls: QueryList<NgControl>;