* These are all the available "traps" for a given node. You can think of these * a little bit like methods, but they are really Proxy interceptors.
()
| 1741 | * a little bit like methods, but they are really Proxy interceptors. |
| 1742 | */ |
| 1743 | function createTraps(): FormKitTraps { |
| 1744 | return new Map<string | symbol, FormKitTrap>(Object.entries(traps)) |
| 1745 | } |
| 1746 | |
| 1747 | /** |
| 1748 | * Creates a getter/setter trap and curries the context/node pair |