@angular/core#ContentChild TypeScript Examples

The following examples show how to use @angular/core#ContentChild. 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: np-panel.component.ts    From np-ui-lib with MIT License 5 votes vote down vote up
@ContentChild(NpPanelContent, { read: TemplateRef, static: true })
  _explicitContent: TemplateRef<any>;
Example #2
Source File: collapse.component.ts    From sba-angular with MIT License 5 votes vote down vote up
// This allows to only trigger the animation after the view initialization
    @ContentChild(TemplateRef, {static: false}) template: TemplateRef<any>;
Example #3
Source File: echarts-container.component.ts    From youpez-admin with MIT License 5 votes vote down vote up
@ContentChild(EchartsComponent, {static: true}) echarts: EchartsComponent
Example #4
Source File: np-defer.module.ts    From np-ui-lib with MIT License 5 votes vote down vote up
@ContentChild(TemplateRef) template: TemplateRef<any>;
Example #5
Source File: facet-card.ts    From sba-angular with MIT License 5 votes vote down vote up
/**
     * Reference to the child facet inserted by transclusion (ng-content)
     */
    @ContentChild("facet", {static: false}) public facetComponent: AbstractFacet;
Example #6
Source File: np-accordion-item.component.ts    From np-ui-lib with MIT License 5 votes vote down vote up
@ContentChild(NpAccordionContent, { read: TemplateRef, static: true })
  _explicitContent: TemplateRef<any>;
Example #7
Source File: editable.component.ts    From edit-in-place with MIT License 5 votes vote down vote up
@ContentChild(EditModeDirective) editModeTpl: EditModeDirective;
Example #8
Source File: pager-items-comp.ts    From ui-pager with Apache License 2.0 5 votes vote down vote up
@ContentChild(TemplateRef, { static: false }) itemTemplateQuery: TemplateRef<ItemContext>;
Example #9
Source File: card-table-wrap.component.ts    From ng-ant-admin with MIT License 5 votes vote down vote up
@ContentChild(AntTreeTableComponentToken) antTreeTableComponent!: AntTreeTableComponentToken;
Example #10
Source File: step-config.component.ts    From ngx-ui-tour with MIT License 5 votes vote down vote up
@ContentChild(PlacementConfigComponent)
    placementConfig: PlacementConfigComponent;
Example #11
Source File: gantt-upper.ts    From ngx-gantt with MIT License 5 votes vote down vote up
@ContentChild('item', { static: true }) itemTemplate: TemplateRef<any>;
Example #12
Source File: tour-step-template.component.ts    From ngx-ui-tour with MIT License 5 votes vote down vote up
@ContentChild(TemplateRef)
  public stepTemplateContent: TemplateRef<{ step: IStepOption }>;
Example #13
Source File: gantt-upper.ts    From ngx-gantt with MIT License 5 votes vote down vote up
@ContentChild('range', { static: true }) rangeTemplate: TemplateRef<any>;
Example #14
Source File: pager-items-comp.ts    From nativescript-plugins with Apache License 2.0 5 votes vote down vote up
@ContentChild(TemplateRef, { static: false })
  itemTemplateQuery: TemplateRef<ItemContext>;
Example #15
Source File: ngx-mat-timepicker-toggle.component.ts    From ngx-mat-timepicker with MIT License 5 votes vote down vote up
@ContentChild(NgxMatTimepickerToggleIconDirective, {static: true}) customIcon: NgxMatTimepickerToggleIconDirective;
Example #16
Source File: slide-builder.component.ts    From sba-angular with MIT License 5 votes vote down vote up
@ContentChild(TemplateRef, {static: false}) recordTpl: TemplateRef<any>;
Example #17
Source File: table.component.ts    From canopy with Apache License 2.0 5 votes vote down vote up
@ContentChild(LgTableBodyComponent, { static: false }) tableBody: LgTableBodyComponent;
Example #18
Source File: dropdown-button.component.ts    From alauda-ui with MIT License 5 votes vote down vote up
@ContentChild(MenuComponent, { static: true })
  menu: MenuComponent;
Example #19
Source File: chat.component.ts    From qd-messages-ts with GNU Affero General Public License v3.0 5 votes vote down vote up
@ContentChild(NbChatFormComponent, { static: false }) chatForm: NbChatFormComponent;
Example #20
Source File: table-row.component.ts    From canopy with Apache License 2.0 5 votes vote down vote up
@ContentChild(LgTableCellComponent, { static: true })
  tableCellComponent: LgTableCellComponent;
Example #21
Source File: menu.component.ts    From alauda-ui with MIT License 5 votes vote down vote up
@ContentChild(MenuContentDirective, { static: true })
  lazyContent: MenuContentDirective;
Example #22
Source File: table.component.ts    From canopy with Apache License 2.0 5 votes vote down vote up
@ContentChild(LgTableHeadComponent, { static: false }) tableHead: LgTableHeadComponent;
Example #23
Source File: key-value-table.component.ts    From RcloneNg with MIT License 5 votes vote down vote up
@ContentChild(TemplateRef, { static: true }) public addonTemplate: TemplateRef<any>;
Example #24
Source File: tab-header.component.ts    From alauda-ui with MIT License 5 votes vote down vote up
@ContentChild(TabHeaderAddonDirective, { static: false })
  _headerAddon: TabHeaderAddonDirective;
Example #25
Source File: tour-step-template.component.ts    From ngx-ui-tour with MIT License 5 votes vote down vote up
@ContentChild(TemplateRef)
  public stepTemplateContent: TemplateRef<{ step: IStepOption }>;
Example #26
Source File: file-input.component.ts    From angular-material-components with MIT License 5 votes vote down vote up
/** Custom icon set by the consumer. */
  @ContentChild(NgxMatFileInputIcon) _customIcon: NgxMatFileInputIcon;
Example #27
Source File: sticky-header.component.ts    From geonetwork-ui with GNU General Public License v2.0 5 votes vote down vote up
@ContentChild(TemplateRef) template: TemplateRef<{ $implicit: number }>
Example #28
Source File: dxc-column-def.directive.ts    From halstack-angular with Apache License 2.0 5 votes vote down vote up
/** @docs-private */
  @ContentChild(DxcCellDef, { static: true }) cell: DxcCellDef;
Example #29
Source File: route.component.ts    From router with MIT License 5 votes vote down vote up
@ContentChild(TemplateRef) template: TemplateRef<any> | null;