// Articles. Tutorials. Utilities.
Home  |   Search  |   Login  
Categories Skip Navigation Links
New / All
Google / Android
Python / IronPython
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 'getVisible(element)'
Method: getVisible(element)
Method Full Name:     Sys$UI$DomElement$getVisible(element)
Class: DomElement
Namespace: Sys.UI
Source File: MicrosoftAjax.debug.js
1   Sys.UI.DomElement.getVisible = function Sys$UI$DomElement$getVisible(element) {
2     /// <summary locid="M:J#Sys.UI.DomElement.getVisible" />
3     /// <param name="element" domElement="true"></param>
4     /// <returns type="Boolean"></returns>
5     var e = Function._validateParams(arguments, [
6     {name: "element", domElement: true}
7     ]);
8     if (e) throw e;
9     var style = element.currentStyle || Sys.UI.DomElement._getCurrentStyle(element);
10    if (!style) return true;
11    return (style.visibility !== 'hidden') && (style.display !== 'none');
12  }
This is the JavaScript source for method getVisible(element) from ASP.NET AJAX Library. Full name for this method is Sys$UI$DomElement$getVisible(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