DataPreview Constructor

Initializes the control. Called during construction.
 

Parameters

element

Type: HTMLElement
The DOM element that the control will render to.
options

Type: Object
(optional) Optional defaults for this control. Some available options:
     hideToolbar             [type: Boolean, default: false]     - If set to true, the toolbar isn't shown.
 

Optional: True