clone Method (ImageViewerElementsModeCreateOptions)

Summary

Creates a copy of this ImageViewerElementsModeCreateOptions instance while optionally prefixing all class names.

Syntax

JavaScript Syntax
ImageViewerElementsModeCreateOptions.prototype.clone = function(prefixed)
TypeScript Syntax
clone(prefixed: boolean): ImageViewerElementsModeCreateOptions;

Parameters

prefixed

true to prefix all class names, false otherwise.

Return Value

A new instance of ImageViewerElementsModeCreateOptions.

Remarks

When the value of prefixed is false, then this method will return an exact copy of this ImageViewerElementsModeCreateOptions object.

When the value is true, then this method will apply the class name prefix to all the members for the class. For example, if the value of ClassPrefix is "lt" while the value of ViewElementClass is "view" and the value of ItemElementClass is "item" and so on, then this method will create a new object with the values of ViewElementClass set to "lt-view", the value of ItemElementClass set to "lt-item" and so on.

Requirements

Target Platforms

Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.
Leadtools.Controls Assembly
Click or drag to resize