From the ecosystem

Flow: How to read a value from an instance of Flow component?

This blog post describes an approach on reading a value from an instance of Flow component in Total.js controller.

Flow: How to read a value from some Flow instance?

Total.js Flow is really great tool and this tutorial shows you how you can get an instance of component from Total.js Flow directly in a controller.

Follow these steps:

  • create your own flow with analytics component
  • double-click on analytics component and type a reference to mystats and press save (as the picture below)

Analytics settings

Then create a controller controllers/default.js:

Where can I read all public methods from Flow components?

Another helpful FLOW methods

Written byPeter Širka
5278 views
Back to top