Combo.setIconImageClass

Syntax

setIconImageClass(value: String);

Parameters

value. Class name of the input editor icon component.

Description

The setIconImageClass method changes class name of the input editor component icon.

Example

To execute the example it is necessary to have the Combo component named combo (see Example of Creating the Combo Component). Change class name of the input editor icon component:

// Change class name of the input editor icon component
combo.setIconImageClass("NewIconImageClass");

Get full name of the class of the component which contains the NewIconImageClass line in the class name:

var elem = document.getElementsByClassName("NewIconImageClass")[0];
console.log("Component class full name: " + elem.getAttribute("class"));

As a result the component class full name is displayed in the console:

Component class full name: PPTextBoxImage NewIconImageClass

See also:

Combo