Tutorial: Frame.getCurrent

Frame.getCurrent

Asynchronously returns a reference to the current frame.

Example

fin.Frame.getCurrent()
.then(frm => console.log('current frame'))
.catch(err => console.log(err));