Class DataFieldTemplateComponent

Hierarchy

  • AbstractDataFieldTemplateComponent
    • DataFieldTemplateComponent

Constructors

Properties

_componentPortal: ComponentPortal<any>
_componentRegistry: ComponentRegistryService
_config: ConfigurationService
_dataField: DataField<any>
_isConfiguredNetgrifTemplate: boolean
_isNetgrifTemplate: boolean
_paperView: PaperViewService
container: ElementRef<any>
dataFieldTemplate: TemplateRef<any>

Content of the datafield that should be displayed in the template

injector: Injector
layoutChangeWidthBreakpoint: number

If the available space has a width smaller that this breakpoint the datafield will fill 100% of the available space.

The breakpoint is only taken into consideration if TemplateAppearance.NETGRIF is set on the data field.

See [DataField.layout]DataField#layout for more information.

offset: number

Field offset defined by task

ɵcmp: unknown
ɵfac: unknown

Accessors

  • get additionalFieldProperties(): {
        [k: string]: string | number;
    }
  • Returns {
        [k: string]: string | number;
    }

    • [k: string]: string | number
  • set additionalFieldProperties(value): void
  • Parameters

    • value: {
          [k: string]: string | number;
      }
      • [k: string]: string | number

    Returns void

  • get componentPortal(): ComponentPortal<any>
  • Returns ComponentPortal<any>

  • get dataField(): DataField<any>
  • Returns DataField<any>

  • set dataField(dataField): void
  • Datafield model object that should be displayed in the template

    Parameters

    • dataField: DataField<any>

    Returns void

  • get showLargeLayout(): WrappedBoolean
  • Returns WrappedBoolean

Methods

  • Returns boolean

    false if the data field uses the TemplateAppearance.MATERIAL and true otherwise.

  • Function that is called when the Component changes dimension and determines whether the "small" or "large" layout should be displayed.

    Returns boolean

  • Returns boolean

  • Returns boolean

  • A callback method that is invoked immediately after the default change detector has checked the directive's data-bound properties for the first time, and before any of the view or content children have been checked. It is invoked only once when the directive is instantiated.

    Returns void

  • Parameters

    • dataField: DataField<any>
    • showLargeLayout: WrappedBoolean
    • formControlRef: FormControl<any>
    • OptionaladditionalFieldProperties: {
          [k: string]: string | number;
      }
      • [k: string]: string | number

    Returns ComponentPortal<any>