File

projects/i-components/src/lib/components/hierarchical-data-template/hierarchical-data-template.component.ts

Description

Component definition for hierarchicaldatatemplate.

Metadata

selector wm-hierarchical-data-template

Index

Properties
Inputs

Constructor

constructor()

Creates an instance of HierarchicalDataTemplateComponent.

Inputs

itemsSource
Type : any

Sets the itemSource property of the tree

name
Type : any

Sets the name of the HierarchicalDataTemplate

Properties

itemsSource
Type : any
Decorators :
@Input()

Sets the itemSource property of the tree

Public itemTemplate
Type : QueryList<any>
Decorators :
@ContentChildren('itemTemplate')

Template reference with the content

name
Type : any
Decorators :
@Input()

Sets the name of the HierarchicalDataTemplate

import { Component, ContentChildren, Input, QueryList } from '@angular/core';

/**
 * Component definition for hierarchicaldatatemplate.
 *
 * @export
 * @class HierarchicalDataTemplateComponent
 */
@Component({
  selector: 'wm-hierarchical-data-template',
  template: '',
})
export class HierarchicalDataTemplateComponent {
  /**
   * Template reference with the content
   *
   * @type {QueryList<any>}
   * @memberof HierarchicalDataTemplateComponent
   */
  @ContentChildren('itemTemplate')
  public itemTemplate: QueryList<any>;

  /**
   * Sets the name of the HierarchicalDataTemplate
   *
   * @type {*}
   * @memberof HierarchicalDataTemplateComponent
   */
  @Input()
  name: any;

  /**
   * Sets the itemSource property of the tree
   *
   * @type {*}
   * @memberof HierarchicalDataTemplateComponent
   */
  @Input()
  itemsSource: any;

  /**
   * Creates an instance of HierarchicalDataTemplateComponent.
   *
   * @memberof HierarchicalDataTemplateComponent
   */
  constructor() {}
}
Legend
Html element
Component
Html element with directive

result-matching ""

    No results matching ""