Thanks Andreas.
Just a question, How will the backend module recognize what is what on the page code ?
My Current Page Code is like this
import {getCurrency} from 'backend/ArenaApi';
export function button1_click(event, $w) {
getCurrency($w("#currencysymbol").value)
.then(rates => $w("#currencyrate").text = rates);
$w("#currencyrate").show();
}
Should I enter something like this
import {getCurrency} from 'backend/ArenaApi';
export function button1_click(event, $w) {
getCurrency($w("#currencysymbol").value)
getCurrency($w("#basecurrency").value)
.then(rates => $w("#currencyrate").text = rates);
$w("#currencyrate").show();
}
Any ideas ?