CanvasService.getViewModelsOfLayer Method

Get the view models of the specified layer.
 

Parameters

layerId

Type: String
the ID of the layer.
options

Type: Object
 (Optional) More options:
     excludeAdaptersOfTemplate    [type: Boolean] - True to exclude adapters from template.
 

Return Value


Type: Array
ElementType: CanvasSelectableViewModel
The view models of the layer.