File

projects/i-components/src/lib/components/accordion-item-content/accordion-item-content.component.ts

Description

Angular Component for the AccordionItem.Content Control.

Metadata

changeDetection ChangeDetectionStrategy.OnPush
selector wm-accordion-item-content
styleUrls ./accordion-item-content.component.scss
templateUrl ./accordion-item-content.component.html

Index

Properties

Properties

template
Type : TemplateRef<any>
Decorators :
@ContentChild('contentTemplate')

Content Template definition of Component.

templateComponent
Type : any
Decorators :
@ContentChild('contentTemplateComponent')

Component inside the Content Template.

import {
  ChangeDetectionStrategy,
  Component,
  ContentChild,
  TemplateRef,
} from '@angular/core';
import { AngularComponentId, ComponentId } from '@mobilize/wms-framework';

/**
 *Angular Component for the AccordionItem.Content Control.
 *
 * @export
 * @class AccordionItemContentComponent
 */
@Component({
  selector: 'wm-accordion-item-content',
  templateUrl: './accordion-item-content.component.html',
  styleUrls: ['./accordion-item-content.component.scss'],
  changeDetection: ChangeDetectionStrategy.OnPush,
})
@ComponentId([AngularComponentId.accordionItemContent])
export class AccordionItemContentComponent {
  /**
   * Content Template definition of Component.
   *
   * @type {TemplateRef<any>}
   * @memberof AccordionItemContentComponent
   */
  @ContentChild('contentTemplate')
  template: TemplateRef<any>;

  /**
   * Component inside the Content Template.
   *
   * @type {any}
   * @memberof AccordionItemContentComponent
   */
  @ContentChild('contentTemplateComponent')
  templateComponent: any;
}
<ng-container></ng-container>

./accordion-item-content.component.scss

Legend
Html element
Component
Html element with directive

result-matching ""

    No results matching ""