@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 vote down vote up
@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 vote down vote up
@ContentChildren(DrawerNavItemComponent, { descendants: false }) nestedNavItems;
Example #3
Source File: link-active.directive.ts    From router with MIT License 5 votes vote down vote up
@ContentChildren(LinkTo, { descendants: true })
  public links: QueryList<LinkTo>;
Example #4
Source File: tab-header.component.ts    From alauda-ui with MIT License 5 votes vote down vote up
@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 vote down vote up
@ContentChildren(NpRadioButtonComponent)
  radioButtons: QueryList<NpRadioButtonComponent>;
Example #6
Source File: radio_control_value_accessor.ts    From angular-miniprogram with MIT License 5 votes vote down vote up
@ContentChildren(forwardRef(() => RadioControl), { descendants: true })
  children!: QueryList<RadioControl>;
Example #7
Source File: gantt.component.ts    From ngx-gantt with MIT License 5 votes vote down vote up
@ContentChildren(NgxGanttTableColumnComponent, { descendants: true }) columns: QueryList<NgxGanttTableColumnComponent>;
Example #8
Source File: vg-player.component.ts    From ngx-videogular with MIT License 5 votes vote down vote up
@ContentChildren(VgMediaDirective) medias: QueryList<VgMediaDirective>;
Example #9
Source File: focus-key-list.directive.ts    From sba-angular with MIT License 5 votes vote down vote up
@ContentChildren(FocusKeyListItemDirective) components: QueryList<FocusKeyListItemDirective>;
Example #10
Source File: app-sidenav-container.component.ts    From youpez-admin with MIT License 5 votes vote down vote up
@ContentChildren(AppSidenavComponent) sidenavs: QueryList<AppSidenavComponent>
Example #11
Source File: np-tabs.component.ts    From np-ui-lib with MIT License 5 votes vote down vote up
@ContentChildren(NpTabComponent) tabs: QueryList<NpTabComponent>;
Example #12
Source File: tab-group.component.ts    From alauda-ui with MIT License 5 votes vote down vote up
@ContentChildren(TabComponent)
  _tabs: QueryList<TabComponent>;
Example #13
Source File: np-accordion.component.ts    From np-ui-lib with MIT License 5 votes vote down vote up
@ContentChildren(NpAccordionItemComponent)
  items: QueryList<NpAccordionItemComponent>;
Example #14
Source File: editable-group.directive.ts    From edit-in-place with MIT License 5 votes vote down vote up
@ContentChildren(EditableComponent, { descendants: true }) children: QueryList<EditableComponent>;
Example #15
Source File: path.ts    From canvas with MIT License 5 votes vote down vote up
@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 vote down vote up
@ContentChildren(DxcWizardStepComponent)
  dxcWizardSteps: QueryList<DxcWizardStepComponent>;
Example #17
Source File: table-row.component.ts    From canopy with Apache License 2.0 5 votes vote down vote up
@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 vote down vote up
@ContentChildren(NbChatMessageComponent) messages: QueryList<NbChatMessageComponent>;
Example #19
Source File: text-input.component.ts    From pantry_party with Apache License 2.0 5 votes vote down vote up
@ContentChildren(FormErrorTextComponent) errorMessages!: QueryList<FormErrorTextComponent>;
Example #20
Source File: tabs.component.ts    From canopy with Apache License 2.0 5 votes vote down vote up
@ContentChildren(forwardRef(() => LgTabItemComponent), {
    descendants: true,
  })
  tabQueryList: QueryList<LgTabItemComponent>;
Example #21
Source File: anchor.directive.ts    From alauda-ui with MIT License 5 votes vote down vote up
@ContentChildren(AnchorLabelDirective, { descendants: true })
  anchorLabels: QueryList<AnchorLabelDirective>;
Example #22
Source File: table-row.component.ts    From canopy with Apache License 2.0 5 votes vote down vote up
@ContentChildren(LgTableCellComponent) bodyCells: QueryList<LgTableCellComponent>;
Example #23
Source File: form-item.component.ts    From alauda-ui with MIT License 5 votes vote down vote up
@ContentChildren(FormItemAddonDirective)
  addons: QueryList<FormItemAddonDirective>;
Example #24
Source File: ngx-splide.component.ts    From ngx-splide with MIT License 5 votes vote down vote up
@ContentChildren(NgxSplideSlideComponent) public slides: QueryList<NgxSplideSlideComponent>;
Example #25
Source File: form-item.component.ts    From alauda-ui with MIT License 5 votes vote down vote up
@ContentChildren(NgControl, { descendants: true })
  ngControls: QueryList<NgControl>;