ludo.paging.TotalPages


new ludo.paging.TotalPages(config, tpl)

Displays current page number shown in a collection

Parameters:
Name Type Description
config Object
tpl String

Template string. default: {page}

Source:
Example
children:[
 ...
 {
			  type:'paging.TotalPages',
			  dataSource:'myDataSource'
		  }
 ...
 }
 where 'myDataSource' is the id of a dataSource.JSONArray object used by a view.

ludo.paging.TotalPages


new ludo.paging.TotalPages(config)

Displays number of pages in a data source

Parameters:
Name Type Description
config Object
Properties
Name Type Description
tpl String

Template string. default: '/{pages}'.

Source:
Example
children:[
 ...
 {
			  type:'paging.TotalPages',
			  dataSource:'myDataSource'
		  }
 ...
 }
 where 'myDataSource' is the id of a dataSource.JSONArray object used by a view.