dundas.controls.PlaceholderViewModel Class

 

Inheritance Hierarchy

 
Class
   dundas.controls.KnockoutViewModel
      dundas.controls.PlaceholderViewModel
 

Constructors

 
  Name Description
init Create a new instance of the view model.
 
 

Properties

 
  Name Description
businessObject The object that this view model is saving/reading. Inherited from dundas.controls.KnockoutViewModel.
id Inherited from dundas.controls.KnockoutViewModel.
isLoading
 
 

Methods

 
  Name Description
dispose Inherited from dundas.controls.KnockoutViewModel.
fromJObject Applies the property values from a plain object created from JSON to the properties of this instance. Inherited from Class.
loadVm Load a view model.
restorePlaceholderType Reset the placeholder type back to the original placeholder type.
restoreVm
saveVm Save the view model data to the data contract
toJSON Implementation for toJSON to return an object that will include this class's prototype property values when stringified. Inherited from Class.
updateViewModelProperty Inherited from dundas.controls.KnockoutViewModel.
validate Validate the data, make sure all required fields are filled.