Call a function from another .ts

Hi everyone,

I would like to use a function defined on my Home.ts from another Page HTML (buttonshome.html). Help me folks, I don’t have idea how to do that.

Thanks for your attention,
beginner programmer

I don’t think you really do want to do that. It makes your app very hard to read and test. Please take a step back and explain the larger issue of what you need to do, and hopefully it can be rearchitected in a different way.