mediawiki-skins-Citizen/out/global.html

244 lines
2.6 KiB
HTML
Raw Normal View History

2020-01-06 19:32:03 +00:00
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>JSDoc: Global</title>
<script src="scripts/prettify/prettify.js"> </script>
<script src="scripts/prettify/lang-css.js"> </script>
<!--[if lt IE 9]>
<script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
<link type="text/css" rel="stylesheet" href="styles/prettify-tomorrow.css">
<link type="text/css" rel="stylesheet" href="styles/jsdoc-default.css">
</head>
<body>
<div id="main">
<h1 class="page-title">Global</h1>
<section>
<header>
<h2></h2>
</header>
<article>
<div class="container-overview">
<dl class="details">
</dl>
</div>
<h3 class="subsection-title">Methods</h3>
<h4 class="name" id="getDevicePixelRatio"><span class="type-signature"></span>getDevicePixelRatio<span class="signature">()</span><span class="type-signature"> &rarr; {number}</span></h4>
<div class="description">
Detects reported or approximate device pixel ratio.
* 1.0 means 1 CSS pixel is 1 hardware pixel
* 2.0 means 1 CSS pixel is 2 hardware pixels
* etc.
Uses window.devicePixelRatio if available, or CSS media queries on IE.
</div>
<dl class="details">
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="wm-typeahead.js.html">wm-typeahead.js</a>, <a href="wm-typeahead.js.html#line21">line 21</a>
</li></ul></dd>
</dl>
<h5>Returns:</h5>
<div class="param-desc">
Device pixel ratio
</div>
<dl>
<dt>
Type
</dt>
<dd>
<span class="param-type">number</span>
</dd>
</dl>
</article>
</section>
</div>
<nav>
<h2><a href="index.html">Home</a></h2><h3>Classes</h3><ul><li><a href="window.WMTypeAhead.html">WMTypeAhead</a></li></ul><h3>Global</h3><ul><li><a href="global.html#getDevicePixelRatio">getDevicePixelRatio</a></li></ul>
</nav>
<br class="clear">
<footer>
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.3</a> on Mon Jan 06 2020 19:31:51 GMT+0000 (Coordinated Universal Time)
</footer>
<script> prettyPrint(); </script>
<script src="scripts/linenumber.js"> </script>
</body>
</html>