CalderaWP / cf-translate

Translate Caldera Forms fields.
https://calderaforms.com/doc/caldera-forms-translation-getting-started/
GNU General Public License v2.0
0 stars 1 forks source link

Use a getter as factory for stateFactory objects. #29

Open Shelob9 opened 6 years ago

Shelob9 commented 6 years ago

Backing out of first attempt. Second attempt incoming. New Solution -- Vue plugins to create a mixin that makes 2 way bindings 2 state in all components, and it's lazy-loaded to create stateFactory objects as needed.

Prototypes of plugins to inject computed property "foo" into all components: https://gist.github.com/Shelob9/1e1debd1bcc851bb3fa832d3c7f447b4