Basic
About Config
type Config = {
[key: string]: Selector | SelectorConfig;
}type Selector = string;type SelectorConfig = {
selector?: Selector;
html?: boolean;
attr?: string;
type?: string;
trim?: boolean;
exist?: boolean;
transform?: Function;
arrayTransform?: Function;
condition?: Function;
methods?: string[];
regex?: RegexConfig;
initial?: any,
fill?: any,
schema?: {
[key: string]: SelectorConfig;
};
};Last updated