parentDiv Property

Summary

Get or sets the HTML Div Element in the HTML page that will act as the parent (container) of the viewer.

Syntax
TypeScript
JavaScript
Object.defineProperty(ImageViewerCreateOptions.prototype, 'parentDiv', 
	get: function(), 
	set: function(value) 
) 
parentDiv: HTMLElement; 

Property Value

The div in the HTML page that will act as the parent (container) of the viewer. Default value is null.

Remarks

This property is required and must contain a valid div in your HTML page.

Example

For an example, refer to ImageViewer.

Requirements

Target Platforms

Help Version 20.0.2020.4.3
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2020 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Controls Assembly