Calling a function of a different component?

Home Forums General Topics Calling a function of a different component?

This topic contains 0 replies, has 1 voice, and was last updated by  joeclark 11 months, 2 weeks ago.

  • Author
  • #23685


    Been away for too long from Adapt. Have been too busy with Totara projects but have finally an interresting Adapt project to work with.
    The main component for this will be a graph that is drawn on canvas based on JSON files loaded in the component.
    Unfortunately this graph is proprietary to the customer so I can’t give it to the community. Would have loved to but can’t.
    Anyway, we will also need to create multiple other components that will manipulate the data in a graph component.
    Can I in a function for component 2 find and call a funtion in component 1 (based on the id of the component).

    I didn’t find the right solution from the internet.
    Product Installation video Examples

You must be logged in to reply to this topic.