Removed most object-specific extensions in order to produce a more agnostic framework.
Also allows for reactive props to be passed to loadLayout() in imperative code, as long as they're wrapped in functions.
Also removes most specific event registration functions in favour of a generic one that looks for properties starting with "on". It would be worth having another look at this in future to determine a better way, but for now this avoids needing to hard code for each object.
Removed most object-specific extensions in order to produce a more agnostic framework.
Also allows for reactive props to be passed to loadLayout() in imperative code, as long as they're wrapped in functions.
Also removes most specific event registration functions in favour of a generic one that looks for properties starting with "on". It would be worth having another look at this in future to determine a better way, but for now this avoids needing to hard code for each object.