The name of a JavaScript function on the page to call
when the editor size is changed on the client.
| C# |
public string SizeChanged { get; set; }
The client-side editor will call the named JavaScript function on
the page whenever the editor size is changed. This allows the
developer to take appropriate related action.
Set the property declaratively in the HtmlEditor tag:
CopyC#
Page JavaScript function:
CopyC#
SizeChanged = "MySizeChangedHandler"function MySizeChangedHandler(editor, delta)
{
var x = delta.x;
var y = delta.y;
...
}