interface IFormApi {
    applyTheme(theme): void;
    empty(): Promise<void>;
    getField(fieldId): TFieldApiUnion;
    getFieldBy(predicate): TFieldApiUnion;
    getFieldByInternalLabel(internalLabel): TFieldApiUnion;
    getFields(predicate?): IFieldApi[];
    getPagingContext(): IPagingContext;
    getSection(sectionId): ISectionApi;
    getSections(predicate?): any[];
    isRendered(): boolean;
    notifyFormEventListeners(type, data): Promise<any>;
    registerFormEventListener(listener): void;
    reset(): Promise<void>;
    setValues(values): Promise<void>;
    unregisterFormEventListener(listener): void;
}

Hierarchy (view full)

Methods

  • Parameters

    • theme: any

    Returns void

  • Returns Promise<void>

  • Parameters

    • Optional predicate: ((section) => boolean)
        • (section): boolean
        • Parameters

          • section: any

          Returns boolean

    Returns any[]

  • Returns boolean

  • Parameters

    Returns Promise<any>

  • Parameters

    Returns void

  • Returns Promise<void>

  • Parameters

    Returns void