Registers a viewport alredy created with the method new Viewport(viewportId, currentPageId)

  • viewportObj: Created object with new ViewPort(...)

Note: It's use is necessary only if you use custom viewports. For mui.viewport and mui.screen is unnecessary.

For more details about viewports see MobileUI App Structure in User Guide.

Quick example

var vpObj = new ViewPort('myviewport');