ModeChanged: function (sender, args)
sender. Event source.
args. Event information.
The ModeChanged event is fired on changing the displaying mode of the drop-down panel for selecting the border type.
Switch between modes on clicking the buttons determines in the _mode1Btn and _mode2Btn fields.
To execute the example, the HTML page must contain BorderCombo component named bc (see Example of Creating the BorderCombo Component). Add a handler for the ModeChanged event:
bc.ModeChanged.add(function (sender, args){alert ("Mode was changed")})
After executing the example, changing the border type selection mode displays the Mode was changed message on the screen.
See also: