FormManager/Interfaces.ts
2019-08-27 11:30:29 +02:00

24 lines
497 B
TypeScript

import FMInput from "./FMInput"
/**
* this interface is used for fetching and setting `name` to `FMInput` link
*
* @interface InputArrayInterface
*/
export interface InputArrayInterface {
[key:string]: FMInput
}
/**
* this interface is used when adding a new `FMInput` class to the FormManager
*
* @interface FMAssignInterface
*/
export interface FMAssignInterface {
input: typeof FMInput
classes?: string[] | string
attributes?: string[] | string
type?: string
tagName?: string
}