Passing Data between different actions in a plugin

How can we pass data data between different actions while building a plugin?
and is there any method to store global variables?

Actions within the same element?

instance.data.variableName = ‘value’

1 Like

thank you so much for your response. let me try… I will get back to you

1 Like

Any luck?

yes, it worked. thank you…