File

src/ng-xform/fields/custom-field.ts

Extends

DynamicField

Index

Properties

Constructor

constructor(options: CustomField)
Parameters :
Name Type Optional Description
options CustomField<T>

Properties

Public controlType
controlType:
Default value : 'CUSTOM'
Public tmpl
tmpl: TemplateRef<any>
Type : TemplateRef<any>
import { TemplateRef } from '@angular/core';
import { DynamicField } from './dynamic-field';

export class CustomField<T = any> extends DynamicField<T> {
  public controlType ? = 'CUSTOM';
  public tmpl: TemplateRef<any>;

  constructor(options: CustomField<T>) {
    super(options);
    this.tmpl = options.tmpl;
  }
}

results matching ""

    No results matching ""