First view Second view

This sample demonstrates multi-view functionality.

Each view is a separate [sub-]document loaded into this frame.

selectView(viewId) function loads the view and calls setup() method declared inside each sub-document.