Tutorial: Layout.closeLayout

Layout.closeLayout

Closes current layout, all it's windows, and their views.

Example

    fin.Layout.closeLayout().then(() => console.log('layout is closed'));