Tutorial: View.getCurrentSync

View.getCurrentSync

Synchronously returns a View object that represents the current view

Example

const view = fin.View.getCurrentSync();
console.log(view);