UNPKG

@ngx-formly/core

Version:

Formly is a dynamic (JSON powered) form library for Angular that bring unmatched maintainability to your application's forms.

12 lines (11 loc) 663 B
import { InjectionToken, Provider } from '@angular/core'; import { ConfigOption } from './models'; import { FormlyConfig } from './services/formly.config'; /** * An InjectionToken for registering additional formly config options (types, wrappers ...). */ export declare const FORMLY_CONFIG: InjectionToken<ConfigOption[]>; export declare function withDefaultConfig(config: FormlyConfig): ConfigOption; export declare function withFormlyFieldExpression(): ConfigOption; export declare const provideFormlyCore: (configs?: ConfigOption | ConfigOption[]) => Provider; export declare const provideFormlyConfig: (configs?: ConfigOption | ConfigOption[]) => Provider;