LayerViewModel.insertDesignObject Method

Insert a design object into this layer. Will determine to insert above or insert below depending on the zIndex of designObject, whether the canvas is loading, and if the vm is newly created
 

Parameters

viewModel

Type: DesignObjectViewModel
The viewmodel of the design Object to insert.