You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Returns the .major, .minor, and .rev version of the namespace. Though you should always use hit-testing to verify if a function is supported in any given version, this permits you the luxury of handling changes that may result within a function from version to version.
For example:
if (UI.somethingSupported)
{
UI.somethingSupported();
}
if ( UI.version.major < 1 )
{
// do this for pre-1.0 versions of a particular method
}