beginZIndex Property

Description

This property allows you to specify the beginning z-index for the Web SDK editor. This provides a way to define how the Web SDK editor interacts with other tools and components that are part of your solution.

This property defines the lowest z-index used by the visual components of the Web SDK editor. All the dialogs and messages shown by the editor will have a z-index greater than or equal to the value of this property.

General information about z-index is available at: https://developer.mozilla.org/en-US/docs/Web/CSS/z-index

The default beginning z-index of the Web SDK editor is 2000.

To get and set the value of this property, you can use the get and set methods of the ESD Web object as illustrated below. Note that this property must be set before the editor is started. You can also pass this as a configuration parameter to the startup method.

Example

To set the beginning z-index:

editor = new window.__editor(undefined, document.getElementById('editor-node'));

editor.set('beginZIndex', 50);

/* set other properties here */

editor.startup(...);

To get the beginning z-index:

var beginningZIndex = editor.get('beginZIndex');