{infiniteZest}
// Articles. Tutorials. Utilities.
Home  |   Search  |   Login  
Categories Skip Navigation Links
New / All
AJAX
Apple
ASP.NET
.NET
Git
Google / Android
Python / IronPython
Miscellaneous
SQL Server
AJAX Source Viewer
View the source code of a Method from ASP.NET AJAX Library. Choose a method from the menu items above (Namespaces, Classes, or Methods).
Method 'getBounds(element)'
Method: getBounds(element)
Method Full Name:     Sys$UI$DomElement$getBounds(element)
Class: DomElement
Namespace: Sys.UI
Source File: MicrosoftAjax.debug.js
1   Sys.UI.DomElement.getBounds = function Sys$UI$DomElement$getBounds(element) {
2     /// <summary locid="M:J#Sys.UI.DomElement.getBounds" />
3     /// <param name="element" domElement="true"></param>
4     /// <returns type="Sys.UI.Bounds"></returns>
5     var e = Function._validateParams(arguments, [
6     {name: "element", domElement: true}
7     ]);
8     if (e) throw e;
9     var offset = Sys.UI.DomElement.getLocation(element);
10    return new Sys.UI.Bounds(offset.x, offset.y, element.offsetWidth || 0, element.offsetHeight || 0);
11  }
This is the JavaScript source for method getBounds(element) from ASP.NET AJAX Library. Full name for this method is Sys$UI$DomElement$getBounds(element). It belongs to the class DomElement, which is in Sys.UI namespace. This source is in MicrosoftAjax.debug.js file.
Bookmark and Share This
About  Contact  Privacy Policy  Site Map