ASP.NET 3.5 and above only
Obout.Ajax.UI Controls - Spell Checker - Client side
Obout.Ajax.UI.SpellChecker.MoveToTargetArgs class
Inheritance HierarchySys.EventArgs Obout.Ajax.UI.SpellChecker.CheckFinishedArgs
Argument of this type is passed to the handlers of the
moveToTarget event.
Note |
To get property values for client API properties, you must call property accessor method that is named with the get_ prefix. For example, to get a value for a property such as toElement, you call the get_toElement method:
|
function moveToTargetHandler(sender, args) {
// make sure that the DOM element is in a view
args.get_toElement().scrollIntoView();
// move the popup to the screen center (visible area)
sender.get_relatedPopup().moveToCenter();
} |
Properties
| Name |
Description |
fromElement
|
object. Gets the DOM element that was being checked before or
null if the spell checking has been just started.
|
toElement
|
object. Gets the DOM element of the target, the spell checker moved to.
|