Tutorial: Window.getCurrentViews

Window.getCurrentViews

Retrieves an array containing all of the views currently attached to a platform window.

Example

const win = fin.Window.getCurrentSync();

win.getCurrentViews()
  .then(views => console.log(views))
  .catch(console.error);