UNPKG

@engie-group/fluid-design-system

Version:

The Fluid Design System is ENGIE’s open-source library to create, build and deliver ENGIE digital services in a more efficient way.

21 lines (20 loc) 805 B
/** * -------------------------------------------------------------------------- * NJ : abstract-form-base.ts * -------------------------------------------------------------------------- */ import AbstractComponent from './abstract-component'; export default abstract class AbstractFormBase extends AbstractComponent { protected static readonly CLASS_NAME: Record<string, string>; protected static readonly SELECTOR: { formGroup: string; }; protected element: HTMLInputElement; protected njFormGroup: Element; constructor(component: any, element: HTMLElement, options?: {}, properties?: {}); addFormGroupFocus(): void; removeFormGroupFocus(): void; addIsFilled(): void; removeIsFilled(): void; findFormGroup(raiseError?: boolean): Element | null; }