brixxbox Wiki
Search
K

replaceText

Replaces a text with the current values of the app.

Parameters

  1. 1.
    text - the text with parameters
  2. 2.
    additionalReplacings - json object with key value pairs

Example Usages

This example uses the controls of the app to replace the values.
let newText = brixxApi.replaceText("Hello @id");
This example uses the controls of the app to replace the values.
let newText = brixxApi.replaceText("Hello @myCustomParam", {
myCustomParam: "world"
});