Tutorial: Frame.getCurrentSync

Frame.getCurrentSync

Synchronously returns a reference to the current frame.

Example

const frm = fin.Frame.getCurrentSync();
const info = await frm.getInfo();
console.log(info);