@awcrotwell/motion
Version:
Motion allows you to build reactive, real-time frontend UI components in your Amber application using pure Crystal that are reusable, testable & encapsulated. For brevity, we will call them MotionComponents.
18 lines (17 loc) • 375 B
TypeScript
export default function serializeEvent(event: any, extraData?: null): {
type: any;
details: {};
extraData: null;
target: {
tagName: any;
value: any;
attributes: {};
formData: string | null;
};
currentTarget: {
tagName: any;
value: any;
attributes: {};
formData: string | null;
};
};