File

packages/ui/src/lib/io/dynamic-rack/dynamic-rack.component.ts

Description

This directive can be used to display a field. It is used inside ec-form as well as ec-list.

Metadata

templateUrl ./dynamic-rack.component.html

Constructor

constructor(componentFactoryResolver: ComponentFactoryResolver)

The constructor provides the instance of ViewContainerRef which is later used to create embedded views

Parameters :
Name Type Optional
componentFactoryResolver ComponentFactoryResolver No
import { Component, ComponentFactoryResolver } from '@angular/core';

// import { CustomFieldComponent } from './custom-field.component';

/** This directive can be used to display a field. It is used inside ec-form as well as ec-list. */
@Component({
  // selector: 'ec-dynamic-rack',
  templateUrl: './dynamic-rack.component.html',
})
export class DynamicRackComponent {
  /** The constructor provides the instance of ViewContainerRef which is later used to create embedded views*/
  constructor(private componentFactoryResolver: ComponentFactoryResolver) {}
}
<div>
  <ul>
    <!--<li *ngFor="let slot of slots">-->
    <!--</li>-->
  </ul>
</div>
Legend
Html element
Component
Html element with directive

result-matching ""

    No results matching ""