Variable
Static Public Summary | ||
public |
Constant that represents data types. |
|
public |
Formatron: {"react": *, "refs": *, "renderers": *, "template": *, "types": *} |
|
public |
Constant that represents view types. |
|
public |
data: {} The pool of data types. |
|
public |
validationErrors: {"required": string, "undefinedValue": string, "invalidOption": string, "integer": string, "finite": string, "email": string, "url": string, "ssn": string, "tel": string, "zipCode": string, "singleline": string} A set of standard validation errors that registered types can use. |
|
public |
The renderers to use to render view types to js values. |
|
public |
view: {} The pool of view types. |
Static Public
public DATA: string source
import {DATA} from 'formatron/src/types/index.js'
Constant that represents data types.
public Formatron: {"react": *, "refs": *, "renderers": *, "template": *, "types": *} source
import Formatron from 'formatron/src/index.js'
public VIEW: string source
import {VIEW} from 'formatron/src/types/index.js'
Constant that represents view types.
public data: {} source
import {data} from 'formatron/src/types/index.js'
The pool of data types. When a new data type is registered, it is stored
here Type.typeName -> Type
.
public validationErrors: {"required": string, "undefinedValue": string, "invalidOption": string, "integer": string, "finite": string, "email": string, "url": string, "ssn": string, "tel": string, "zipCode": string, "singleline": string} source
import {validationErrors} from 'formatron/src/types/data/index.js'
A set of standard validation errors that registered types can use.
TODO: Add a better way to modify the basic error messages other than just editing the imported object, which is baaaaad.
public valueRenderers: Renderers source
import {valueRenderers} from 'formatron/src/renderers/index.js'
The renderers to use to render view types to js values.
public view: {} source
import {view} from 'formatron/src/types/index.js'
The pool of view types. When a new view type is registered, it is stored
here Type.typeName -> Type
.