Component.getPages

Returns the Pages object that gives access to all pages available to the component. An individual page can then be accessed using its page name as shown in the examples below.

Javascript example:

 var p1 = components.PREFIX1.pages.PAGE1;
 var p2 = components.PREFIX1.getPages().PAGE2").value;
 

returns Pages