Feature Request: Support `sharedDatas` among different able events
SidIcarus opened this issue · comments
Alvaro Pareja-Lecaros commented
Environments
- Framework name: VanillaJS
- Moveable Component version: 0.53
Description
I'm not sure if this is possible since each of the default provided ables are implemented as plugins to the system, but having a shared datas object through the ables would be pretty useful.
i.e
- I find the model that needs to be modified for a given event the beginning of each event-able (usually ableStart). Pass it along via
datas
. IfsharedDatas
or whatever you decide to call it is implemented, it would only need to be done once inbeforeRenderStart
. Obviously this is a trivial and minimal use-case but its complexity could scale upwards easily.