MCPcopy Create free account
hub / github.com/BuilderIO/mitosis / CustomAttributes

Interface CustomAttributes

packages/core/jsx-runtime.d.ts:62–71  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

60
61 // https://github.com/ryansolid/babel-plugin-jsx-dom-expressions#special-binding
62 interface CustomAttributes<T> {
63 ref?: T | ((el: T) => void);
64 classList?: { [k: string]: boolean | undefined };
65 className?: string;
66 on?: { [key: string]: EventHandler<T, CustomEvent> };
67 onCapture?: { [key: string]: EventHandler<T, CustomEvent> };
68
69 $name?: string;
70 $id?: string;
71 }
72
73 // https://github.com/ryansolid/babel-plugin-jsx-dom-expressions#oneventname
74 interface DOMAttributes<T> extends CustomAttributes<T> {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…