Skip to content

Special variable behaviours with custom JS. #227

Answered by GarboMuffin
Samq64 asked this question in Q&A
Discussion options

You must be logged in to vote

For cloud variables

var provider = {
  enable: () => {},
  handleUpdateVariable: (name, value) => {
    // do whatever
    console.log(name, value)
  }
}
scaffolding.addCloudProvider(provider);
scaffolding.addCloudProviderOverride('☁ redirect', provider);

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@GarboMuffin
Comment options

Answer selected by Samq64
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants