Custom Functions

Create a custom function reusable throughout the application.

Creating a Custom Function

In order to create a Custom Function follow the next steps :

  • Click on the Add button and select Functions in the opened list

  • Set the Name of your function on the right properties panel

  • Add a Tag to group your custom functions

  • Choose if your function should be Async or not

  • Add any Parameters you need

  • Choose the Return Type

  • Write your code in the central editor

  • Save by clicking on the top right button Save

Example of a custom function that add two numbers and return the result as a string

Use a Custom Function

Example of use of a custom function that increment by 1 an observable on button click

Last updated