DashboardCanvas.loadTemplate Method

Load a template, or template cells.
 

Parameters

templateAdapter

ElementType: Dashboard
Template Dashboard adapter.
templateCells

ElementType: TemplateCell
(Optional) Template cells to be loaded with instead of a template adapter.

Return Value


Type: Object
Object containing the viewModel of the canvasAdapter and its template canvasAdapter