Reference/Set a variable from another unit
Reference/Set a variable from another unit
Unfortunately this is the only way to do so. Helium DSL is based on a Model-View-Presenter (MVP) pattern that couples presenters and views more closely than say the MVC pattern does. This means that referencing variables or functions from one unit should specifically be designated as the variables or functions in that specific unit. Read a bit more about these two patterns here:
[https://stackoverflow.com/questions/2056/what-are-mvp-and-mvc-and-what-is-the-difference
](https://)
[https://www.oreilly.com/library/view/learning-javascript-design/9781449334840/ch10s09.html](https://)
Unfortunately this is the only way to do so. Helium DSL is based on a Model-View-Presenter (MVP) pattern that couples presenters and views more closely than say the MVC pattern does. This means that referencing variables or functions from one unit should specifically be designated as the variables or functions in that specific unit. Read a bit more about these two patterns here:
https://stackoverflow.com/questions/2056/what-are-mvp-and-mvc-and-what-is-the-difference
https://www.oreilly.com/library/view/learning-javascript-design/9781449334840/ch10s09.html
Reference/Set a variable from another unit
Unfortunately this is the only way to do so. Helium DSL is based on a Model-View-Presenter (MVP) pattern that couples presenters and views more closely than say the MVC pattern does. This means that referencing variables or functions from one unit should specifically be designated as the variables or functions in that specific unit. Read a bit more about these two patterns here:
https://stackoverflow.com/questions/2056/what-are-mvp-and-mvc-and-what-is-the-difference
https://www.oreilly.com/library/view/learning-javascript-design/9781449334840/ch10s09.html