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 21.0.2021.7.2
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Controls Assembly

Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.