-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathutils_scrollEnabled.js.html
87 lines (55 loc) · 5.59 KB
/
utils_scrollEnabled.js.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>utils/scrollEnabled.js - Documentation</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.css">
<link type="text/css" rel="stylesheet" href="styles/jsdoc.css">
<script src="scripts/nav.js" defer></script>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
</head>
<body>
<input type="checkbox" id="nav-trigger" class="nav-trigger" />
<label for="nav-trigger" class="navicon-button x">
<div class="navicon"></div>
</label>
<label for="nav-trigger" class="overlay"></label>
<nav >
<input type="text" id="nav-search" placeholder="Search" />
<h2><a href="index.html">Home</a></h2><h3>Classes</h3><ul><li><a href="cLabs.Ajax.html">Ajax</a><ul class='methods'><li data-type='method' style='display: none;'><a href="cLabs.Ajax.html#.abort">abort</a></li><li data-type='method' style='display: none;'><a href="cLabs.Ajax.html#.getData">getData</a></li></ul></li><li><a href="LbWidget.html">LbWidget</a><ul class='members'><li data-type='member' style='display: none;'><a href="LbWidget.html#.this.settings">this.settings</a></li><li data-type='member' style='display: none;'><a href="LbWidget.html#~competitionCheckAjax">competitionCheckAjax</a></li><li data-type='member' style='display: none;'><a href="LbWidget.html#~competitionFinishedCheckAjax">competitionFinishedCheckAjax</a></li></ul><ul class='methods'><li data-type='method' style='display: none;'><a href="LbWidget.html#.this.formatDateTime">this.formatDateTime</a></li><li data-type='method' style='display: none;'><a href="LbWidget.html#.this.init">this.init</a></li><li data-type='method' style='display: none;'><a href="LbWidget.html#.this.openWithTabAndAction">this.openWithTabAndAction</a></li></ul></li><li><a href="MainWidget.html">MainWidget</a><ul class='members'><li data-type='member' style='display: none;'><a href="MainWidget.html#.this.settings">this.settings</a></li></ul><ul class='methods'><li data-type='method' style='display: none;'><a href="MainWidget.html#.this.accordionStyle">this.accordionStyle</a></li></ul></li><li><a href="Messaging.html">Messaging</a><ul class='members'><li data-type='member' style='display: none;'><a href="Messaging.html#.this.settings">this.settings</a></li></ul><ul class='methods'><li data-type='method' style='display: none;'><a href="Messaging.html#.this.hearBeatCheck">this.hearBeatCheck</a></li></ul></li><li><a href="MiniScoreBoard.html">MiniScoreBoard</a><ul class='members'><li data-type='member' style='display: none;'><a href="MiniScoreBoard.html#.this.settings">this.settings</a></li></ul></li><li><a href="Notifications.html">Notifications</a><ul class='members'><li data-type='member' style='display: none;'><a href="Notifications.html#.this.settings">this.settings</a></li></ul></li></ul><h3>Modules</h3><ul><li><a href="module-utils.html">utils</a><ul class='methods'><li data-type='method' style='display: none;'><a href="module-utils.html#._hasClass">_hasClass</a></li><li data-type='method' style='display: none;'><a href="module-utils.html#.addClass">addClass</a></li><li data-type='method' style='display: none;'><a href="module-utils.html#.closest">closest</a></li><li data-type='method' style='display: none;'><a href="module-utils.html#.formatNumberLeadingZeros">formatNumberLeadingZeros</a></li><li data-type='method' style='display: none;'><a href="module-utils.html#.isElement">isElement</a></li><li data-type='method' style='display: none;'><a href="module-utils.html#.objectCount">objectCount</a></li><li data-type='method' style='display: none;'><a href="module-utils.html#.objectIterator">objectIterator</a></li><li data-type='method' style='display: none;'><a href="module-utils.html#.query">query</a></li><li data-type='method' style='display: none;'><a href="module-utils.html#.remove">remove</a></li><li data-type='method' style='display: none;'><a href="module-utils.html#.removeClass">removeClass</a></li><li data-type='method' style='display: none;'><a href="module-utils.html#.scrollEnabled">scrollEnabled</a></li><li data-type='method' style='display: none;'><a href="module-utils.html#.sizeof">sizeof</a></li><li data-type='method' style='display: none;'><a href="module-utils.html#.stringContains">stringContains</a></li><li data-type='method' style='display: none;'><a href="module-utils.html#.stripHtml">stripHtml</a></li></ul></li></ul><h3>Global</h3><ul><li><a href="global.html#getData">getData</a></li></ul>
</nav>
<div id="main">
<h1 class="page-title">utils/scrollEnabled.js</h1>
<section>
<article>
<pre class="prettyprint source linenums"><code>/**
* Check if scrolling is enabled
* @memberOf module:utils
* @static
* @param doc
* @returns {boolean}
*/
const scrollEnabled = function (doc) {
return (doc !== null) ? (doc.scrollHeight > doc.offsetHeight) : false;
};
export default scrollEnabled;
</code></pre>
</article>
</section>
</div>
<br class="clear">
<footer>
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.6</a> using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
</footer>
<script>prettyPrint();</script>
<script src="scripts/polyfill.js"></script>
<script src="scripts/linenumber.js"></script>
<script src="scripts/search.js" defer></script>
<script src="scripts/collapse.js" defer></script>
</body>
</html>