Files
mixtape/zero.Backoffice.UI/app/editor/editorFieldProxy.ts
T
2021-12-09 00:01:30 +01:00

15 lines
310 B
TypeScript

import { EditorField } from "zero/editor";
export const fieldTypes: Record<string, any> = {};
export const proxy = new Proxy(fieldTypes, {
get(target, handler)
{
console.info({ target, handler });
return target[handler];
}
}) as EditorField;
//var field = editor.field('name').text("hallo");