UA.html revision eb9b6f817df5c660be9f00fc5d27fe33479fdc98
<html>
<head>
<title>API: yui UA (YUI Library)</title>
</head>
<body id="yahoo-com">
<div id="doc3" class="yui-t2">
<div id="hd">
<h3>yui <span class="subtitle">3.00PR1</span></h3>
<p>
> UA
</p>
</div>
<div id="bd">
<div id="yui-main">
<div class="yui-b">
<form name="yui-classopts-form">
<span id="classopts"><input type="checkbox" name="showprivate" id="showprivate" /> Show Private</span>
<span id="classopts"><input type="checkbox" name="showprotected" id="showprotected" /> Show Protected</span>
<span id="classopts"><input type="checkbox" name="showdeprecated" id="showdeprecated" /> Show Deprecated</span>
</form>
<h2>
Class <b>UA</b>
<span class="extends">
</span>
<span class="extends">
</span>
</code>
</h2>
<!-- class tree goes here -->
<div class="summary description">
</div>
<div class="section field details">
<h3 id="properties">Properties</h3>
<div class="content">
<div class="">
<h4><a name="property_gecko">gecko</a>
<code>- float</code>
</h4>
<div class="detail">
<div class="description">
Gecko engine revision number. Will evaluate to 1 if Gecko
is detected but the revision could not be found. Other browsers
will be 0. Example: 1.8
<pre>
Firefox 1.0.0.4: 1.7.8 <-- Reports 1.7
Firefox 1.5.0.9: 1.8.0.9 <-- Reports 1.8
Firefox 2.0.0.3: 1.8.1.3 <-- Reports 1.8
Firefox 3 alpha: 1.9a4 <-- Reports 1.9
</pre>
</div>
</div>
<hr />
</div>
<div class="">
<h4><a name="property_ie">ie</a>
<code>- float</code>
</h4>
<div class="detail">
<div class="description">
Internet Explorer version number or 0. Example: 6
</div>
</div>
<hr />
</div>
<div class="">
<h4><a name="property_mobile">mobile</a>
<code>- string</code>
</h4>
<div class="detail">
<div class="description">
The mobile property will be set to a string containing any relevant
user agent information when a modern mobile browser is detected.
devices with the WebKit-based browser, and Opera Mini.
</div>
</div>
<hr />
</div>
<div class="">
<h4><a name="property_opera">opera</a>
<code>- float</code>
</h4>
<div class="detail">
<div class="description">
Opera version number or 0. Example: 9.2
</div>
</div>
<hr />
</div>
<div class="">
<h4><a name="property_webkit">webkit</a>
<code>- float</code>
</h4>
<div class="detail">
<div class="description">
AppleWebKit version. KHTML browsers that are not WebKit browsers
will evaluate to 1, other browsers 0. Example: 418.9.1
<pre>
Safari 1.3.2 (312.6): 312.8.1 <-- Reports 312.8 -- currently the
latest available for Mac OSX 10.3.
Safari 2.0.2: 416 <-- hasOwnProperty introduced
Safari 2.0.4: 418 <-- preventDefault fixed
Safari 2.0.4 (419.3): 418.9.1 <-- One version of Safari may run
different versions of webkit
Safari 2.0.4 (419.3): 419 <-- Tiger installations that have been
updated, but not updated
to the latest patch.
Webkit 212 nightly: 522+ <-- Safari 3.0 precursor (with native SVG
and many major issues fixed).
Safari 3.0.4 (523.12) 523.12 <-- First Tiger release - automatic update
</pre>
</div>
</div>
<hr />
</div>
</div>
</div>
</div>
</div>
<div class="yui-b">
<div class="nav">
<div class="module">
<h4>Modules</h4>
<ul class="content">
</ul>
</div>
<div class="module">
<h4>Classes</h4>
<ul class="content">
</ul>
</div>
<div class="module">
<h4>Files</h4>
<ul class="content">
</ul>
</div>
<div class="module">
<h4>Properties</h4>
<ul class="content">
<li class=""><a href="#property_gecko">gecko</a>
<!--<code><float></code>-->
</li>
<li class=""><a href="#property_ie">ie</a>
<!--<code><float></code>-->
</li>
<li class=""><a href="#property_mobile">mobile</a>
<!--<code><float></code>-->
</li>
<li class=""><a href="#property_opera">opera</a>
<!--<code><float></code>-->
</li>
<li class=""><a href="#property_webkit">webkit</a>
<!--<code><float></code>-->
</li>
</ul>
</div>
</div>
</div>
</div>
<div id="ft">
<hr />
Copyright © 2008 Yahoo! Inc. All rights reserved.
</div>
</div>
</body>
</html>