Flow: How to read a value from some Flow instance?
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 an instance of Flow component?
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 tomystats
and press save (as the picture below)
Then create a controller controllers/default.js:
Where can I read all public methods from Flow components?
- Download Flow Components repository
- open each component to see all public methods (defined as
instance.custom.<method-name>
)
Another helpful FLOW methods
Other posts from Total.js Platform
- 2024-12-22NEWMerry Christmas and a Happy New Year 2025!
- 2024-12-10Total.js UI Builder: How to upload files?
- 2024-12-04Performance Testing: Total.js vs. Koa
- 2024-12-03Total.js UI Builder: Creating a Form
- 2024-12-02November report 2024
- 2024-11-26Total.js V5: Schemas and Actions
- 2024-11-25QueryBuilder in Action Part 1
- 2024-11-13Benchmarking Node.js Frameworks: selecting your framework for 2025!
- 2024-11-01October report 2024
- 2024-10-22Performance Testing: Total.js vs. NestJS