1 | <!DOCTYPE html>
|
2 |
|
3 | <html lang="en">
|
4 | <head>
|
5 | <meta charset="utf-8">
|
6 | <meta name="viewport" content="width=device-width">
|
7 | <title>CrossBrowdy API documentation [printable] Namespace: CursorImage</title>
|
8 |
|
9 | |
10 |
|
11 |
|
12 | <link type="text/css" rel="stylesheet" href="styles/sunlight.default.css">
|
13 |
|
14 | <link type="text/css" rel="stylesheet" href="styles/site.yeti.css">
|
15 |
|
16 | </head>
|
17 |
|
18 | <body style="min-width:800px; overflow-wrap:break-word; word-wrap:break-word; word-break:break-word; line-break:strict; hyphens:none; -webkit-hyphens:none; -moz-hyphens:none;">
|
19 |
|
20 | <div class="navbar navbar-default navbar-fixed-top ">
|
21 | <div class="container">
|
22 | <div class="navbar-header">
|
23 | <a class="navbar-brand" href="index.html">CrossBrowdy API documentation [printable]</a>
|
24 | <button class="navbar-toggle" type="button" data-toggle="collapse" data-target="#topNavigation">
|
25 | <span class="icon-bar"></span>
|
26 | <span class="icon-bar"></span>
|
27 | <span class="icon-bar"></span>
|
28 | </button>
|
29 | </div>
|
30 | <div class="navbar-collapse collapse" id="topNavigation">
|
31 | <ul class="nav navbar-nav">
|
32 |
|
33 | <li class="dropdown">
|
34 | <a href="namespaces.list.html" class="dropdown-toggle" data-toggle="dropdown">Namespaces<b class="caret"></b></a>
|
35 | <ul class="dropdown-menu inline">
|
36 | <li><a href="CB_Arrays.html">CB_Arrays</a></li><li><a href="CB_AudioDetector.html">CB_AudioDetector</a></li><li><a href="CB_Client.html">CB_Client</a></li><li><a href="CB_Collisions.html">CB_Collisions</a></li><li><a href="CB_Configuration.html">CB_Configuration</a></li><li><a href="CB_Configuration.CrossBase.html">CB_Configuration.CrossBase</a></li><li><a href="CB_Configuration.CrossBrowdy.html">CB_Configuration.CrossBrowdy</a></li><li><a href="CB_Controllers.html">CB_Controllers</a></li><li><a href="CB_Controllers_Proprietary.html">CB_Controllers_Proprietary</a></li><li><a href="CB_Controllers_Proprietary.WII.html">CB_Controllers_Proprietary.WII</a></li><li><a href="CB_Controllers_Proprietary.WII_U.html">CB_Controllers_Proprietary.WII_U</a></li><li><a href="CB_Device.html">CB_Device</a></li><li><a href="CB_Device.AmbientLight.html">CB_Device.AmbientLight</a></li><li><a href="CB_Device.Battery.html">CB_Device.Battery</a></li><li><a href="CB_Device.Location.html">CB_Device.Location</a></li><li><a href="CB_Device.Motion.html">CB_Device.Motion</a></li><li><a href="CB_Device.Orientation.html">CB_Device.Orientation</a></li><li><a href="CB_Device.Proximity.html">CB_Device.Proximity</a></li><li><a href="CB_Device.Vibration.html">CB_Device.Vibration</a></li><li><a href="CB_Elements.html">CB_Elements</a></li><li><a href="CB_Events.html">CB_Events</a></li><li><a href="CB_Keyboard.html">CB_Keyboard</a></li><li><a href="CB_Keyboard.chars.html">CB_Keyboard.chars</a></li><li><a href="CB_Keyboard.extended.html">CB_Keyboard.extended</a></li><li><a href="CB_Keyboard.keys.html">CB_Keyboard.keys</a></li><li><a href="CB_Modules.html">CB_Modules</a></li><li><a href="CB_Mouse.html">CB_Mouse</a></li><li><a href="CB_Mouse.CursorImage.html">CB_Mouse.CursorImage</a></li><li><a href="CB_Net.html">CB_Net</a></li><li><a href="CB_Net.Fetch.html">CB_Net.Fetch</a></li><li><a href="CB_Net.REST.html">CB_Net.REST</a></li><li><a href="CB_Net.Sockets.html">CB_Net.Sockets</a></li><li><a href="CB_Net.Sockets.SockJS.html">CB_Net.Sockets.SockJS</a></li><li><a href="CB_Net.XHR.html">CB_Net.XHR</a></li><li><a href="CB_Pointer.html">CB_Pointer</a></li><li><a href="CB_Screen.html">CB_Screen</a></li><li><a href="CB_Speaker.html">CB_Speaker</a></li><li><a href="CB_Touch.html">CB_Touch</a></li><li><a href="CB_baseSymbols.html">CB_baseSymbols</a></li>
|
37 | </ul>
|
38 | </li>
|
39 |
|
40 | <li class="dropdown">
|
41 | <a href="classes.list.html" class="dropdown-toggle" data-toggle="dropdown">Classes<b class="caret"></b></a>
|
42 | <ul class="dropdown-menu inline">
|
43 | <li><a href="CB_AudioFile.html">CB_AudioFile</a></li><li><a href="CB_AudioFileCache.html">CB_AudioFileCache</a></li><li><a href="CB_AudioFileSprites.html">CB_AudioFileSprites</a></li><li><a href="CB_AudioFileSpritesPool.html">CB_AudioFileSpritesPool</a></li><li><a href="CB_AudioFile_API.AAPI.html">CB_AudioFile_API.AAPI</a></li><li><a href="CB_AudioFile_API.ACMP.html">CB_AudioFile_API.ACMP</a></li><li><a href="CB_AudioFile_API.SM2.html">CB_AudioFile_API.SM2</a></li><li><a href="CB_AudioFile_API.WAAPI.html">CB_AudioFile_API.WAAPI</a></li><li><a href="CB_Canvas.html">CB_Canvas</a></li><li><a href="CB_GraphicSprites.html">CB_GraphicSprites</a></li><li><a href="CB_GraphicSpritesScene.html">CB_GraphicSpritesScene</a></li>
|
44 | </ul>
|
45 | </li>
|
46 |
|
47 | <li class="dropdown">
|
48 | <a href="global.html" class="dropdown-toggle" data-toggle="dropdown">Global<b class="caret"></b></a>
|
49 | <ul class="dropdown-menu inline">
|
50 | <li><a href="global.html#CB_BASE_NAME">CB_BASE_NAME</a></li><li><a href="global.html#CB_CREDITS_DEFAULT">CB_CREDITS_DEFAULT</a></li><li><a href="global.html#CB_NAME">CB_NAME</a></li><li><a href="global.html#CB_OPTIONS">CB_OPTIONS</a></li><li><a href="global.html#CB_VERSION">CB_VERSION</a></li><li><a href="global.html#CB_addCredits">CB_addCredits</a></li><li><a href="global.html#CB_baseToBase">CB_baseToBase</a></li><li><a href="global.html#CB_baseToInt">CB_baseToInt</a></li><li><a href="global.html#CB_br2nl">CB_br2nl</a></li><li><a href="global.html#CB_brToNl">CB_brToNl</a></li><li><a href="global.html#CB_combineArraysOrObjects">CB_combineArraysOrObjects</a></li><li><a href="global.html#CB_combineAutomatically">CB_combineAutomatically</a></li><li><a href="global.html#CB_combineJSON">CB_combineJSON</a></li><li><a href="global.html#CB_combineURIParameters">CB_combineURIParameters</a></li><li><a href="global.html#CB_combineURLParameters">CB_combineURLParameters</a></li><li><a href="global.html#CB_console">CB_console</a></li><li><a href="global.html#CB_copyObject">CB_copyObject</a></li><li><a href="global.html#CB_countDecimalDigits">CB_countDecimalDigits</a></li><li><a href="global.html#CB_countDecimalPart">CB_countDecimalPart</a></li><li><a href="global.html#CB_countDecimals">CB_countDecimals</a></li><li><a href="global.html#CB_countIntegerDigits">CB_countIntegerDigits</a></li><li><a href="global.html#CB_countIntegerPart">CB_countIntegerPart</a></li><li><a href="global.html#CB_credits">CB_credits</a></li><li><a href="global.html#CB_forEach">CB_forEach</a></li><li><a href="global.html#CB_forceString">CB_forceString</a></li><li><a href="global.html#CB_getBase64StringObject">CB_getBase64StringObject</a></li><li><a href="global.html#CB_getCookie">CB_getCookie</a></li><li><a href="global.html#CB_getDatum">CB_getDatum</a></li><li><a href="global.html#CB_getJSONPropertyValue">CB_getJSONPropertyValue</a></li><li><a href="global.html#CB_getLZStringObject">CB_getLZStringObject</a></li><li><a href="global.html#CB_getValueIndex">CB_getValueIndex</a></li><li><a href="global.html#CB_getValuePath">CB_getValuePath</a></li><li><a href="global.html#CB_includeJSFile">CB_includeJSFile</a></li><li><a href="global.html#CB_indexOf">CB_indexOf</a></li><li><a href="global.html#CB_init">CB_init</a></li><li><a href="global.html#CB_intToBase">CB_intToBase</a></li><li><a href="global.html#CB_isArray">CB_isArray</a></li><li><a href="global.html#CB_isEmail">CB_isEmail</a></li><li><a href="global.html#CB_isFileLocal">CB_isFileLocal</a></li><li><a href="global.html#CB_isString">CB_isString</a></li><li><a href="global.html#CB_lastIndexOf">CB_lastIndexOf</a></li><li><a href="global.html#CB_ltrim">CB_ltrim</a></li><li><a href="global.html#CB_nl2br">CB_nl2br</a></li><li><a href="global.html#CB_nlToBr">CB_nlToBr</a></li><li><a href="global.html#CB_numberFormat">CB_numberFormat</a></li><li><a href="global.html#CB_numberOfDecimalDigits">CB_numberOfDecimalDigits</a></li><li><a href="global.html#CB_numberOfDecimals">CB_numberOfDecimals</a></li><li><a href="global.html#CB_numberOfIntegerDigits">CB_numberOfIntegerDigits</a></li><li><a href="global.html#CB_parseJSON">CB_parseJSON</a></li><li><a href="global.html#CB_parseString">CB_parseString</a></li><li><a href="global.html#CB_regularExpressionString">CB_regularExpressionString</a></li><li><a href="global.html#CB_renderString">CB_renderString</a></li><li><a href="global.html#CB_replaceAll">CB_replaceAll</a></li><li><a href="global.html#CB_rtrim">CB_rtrim</a></li><li><a href="global.html#CB_scriptPath">CB_scriptPath</a></li><li><a href="global.html#CB_scriptPathCalculate">CB_scriptPathCalculate</a></li><li><a href="global.html#CB_setCookie">CB_setCookie</a></li><li><a href="global.html#CB_setDatum">CB_setDatum</a></li><li><a href="global.html#CB_sizeOf">CB_sizeOf</a></li><li><a href="global.html#CB_sizeof">CB_sizeof</a></li><li><a href="global.html#CB_stringifyJSON">CB_stringifyJSON</a></li><li><a href="global.html#CB_symmetricCall">CB_symmetricCall</a></li><li><a href="global.html#CB_symmetricCallClear">CB_symmetricCallClear</a></li><li><a href="global.html#CB_this">CB_this</a></li><li><a href="global.html#CB_trim">CB_trim</a></li>
|
51 | </ul>
|
52 | </li>
|
53 |
|
54 | </ul>
|
55 |
|
56 | <div class="col-sm-3 col-md-3">
|
57 | <form class="navbar-form" role="search">
|
58 | <div class="input-group">
|
59 | <input type="text" class="form-control" placeholder="Search" name="q" id="search-input">
|
60 | <div class="input-group-btn">
|
61 | <button class="btn btn-default" id="search-submit"><i class="glyphicon glyphicon-search"></i></button>
|
62 | </div>
|
63 | </div>
|
64 | </form>
|
65 | </div>
|
66 |
|
67 | </div>
|
68 |
|
69 | </div>
|
70 | </div>
|
71 |
|
72 |
|
73 | <div class="container" id="toc-content" style="width:100%;">
|
74 | <div class="row" style="width:100%;">
|
75 |
|
76 |
|
77 | <div class="col-md-8" style="width:85%;">
|
78 |
|
79 | <div id="main">
|
80 |
|
81 |
|
82 |
|
83 | <h1 class="page-title">Namespace: CursorImage</h1>
|
84 |
|
85 | <section>
|
86 |
|
87 | <header>
|
88 |
|
89 | <h2>
|
90 | <span class="ancestors"><a href="CB_Mouse.html">CB_Mouse</a>.</span>
|
91 |
|
92 | CursorImage
|
93 | </h2>
|
94 |
|
95 |
|
96 | </header>
|
97 |
|
98 |
|
99 | <article>
|
100 | <div class="container-overview">
|
101 |
|
102 |
|
103 | <div class="description"><p>Property that keeps an object to manage the mouse cursor using a <a href="https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement">DOM element</a> containing an image for clients that do not support changing the cursor image by CSS.<br>
|
104 | <br /><br>
|
105 | Caution: Performance could be dramatically decreased while using this workaround.</p></div>
|
106 |
|
107 |
|
108 |
|
109 | <dl class="details">
|
110 |
|
111 |
|
112 |
|
113 |
|
114 |
|
115 |
|
116 |
|
117 |
|
118 |
|
119 |
|
120 |
|
121 |
|
122 |
|
123 |
|
124 |
|
125 |
|
126 |
|
127 |
|
128 |
|
129 |
|
130 |
|
131 |
|
132 |
|
133 |
|
134 |
|
135 |
|
136 |
|
137 |
|
138 |
|
139 | <dt class="tag-source method-doc-label method-doc-details-label">Source:</dt>
|
140 | <dd class="tag-source">
|
141 | <ul class="dummy">
|
142 | <li>
|
143 | <a href="CrossBase_input_CB_Mouse.js.html">CrossBase/input/CB_Mouse.js</a>,
|
144 | <a href="CrossBase_input_CB_Mouse.js.html#sunlight-1-line-28">line 28</a>
|
145 | </li>
|
146 | </ul>
|
147 | </dd>
|
148 |
|
149 |
|
150 |
|
151 |
|
152 |
|
153 |
|
154 |
|
155 | </dl>
|
156 |
|
157 |
|
158 |
|
159 |
|
160 | </div>
|
161 |
|
162 |
|
163 |
|
164 |
|
165 |
|
166 |
|
167 |
|
168 |
|
169 |
|
170 |
|
171 |
|
172 |
|
173 |
|
174 |
|
175 | <h3 class="subsection-title">Methods</h3>
|
176 |
|
177 | <dl>
|
178 |
|
179 | <hr>
|
180 | <dt>
|
181 | <h4 class="name" id=".get"><span class="type-signature"><static> </span>get<span class="signature">()</span><span class="type-signature"> → {Element}</span></h4>
|
182 |
|
183 |
|
184 | </dt>
|
185 | <dd>
|
186 |
|
187 |
|
188 | <div class="description">
|
189 | <p>Gets the <a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/div">DIV element</a> that contains the <a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/img">IMG element</a> of the fake cursor (if any).</p>
|
190 | </div>
|
191 |
|
192 |
|
193 |
|
194 |
|
195 |
|
196 |
|
197 |
|
198 |
|
199 |
|
200 |
|
201 | <dl class="details">
|
202 |
|
203 |
|
204 |
|
205 |
|
206 |
|
207 |
|
208 |
|
209 |
|
210 |
|
211 |
|
212 |
|
213 |
|
214 |
|
215 |
|
216 |
|
217 |
|
218 |
|
219 |
|
220 |
|
221 |
|
222 |
|
223 |
|
224 |
|
225 |
|
226 |
|
227 |
|
228 |
|
229 |
|
230 |
|
231 | <dt class="tag-source method-doc-label method-doc-details-label">Source:</dt>
|
232 | <dd class="tag-source">
|
233 | <ul class="dummy">
|
234 | <li>
|
235 | <a href="CrossBase_input_CB_Mouse.js.html">CrossBase/input/CB_Mouse.js</a>,
|
236 | <a href="CrossBase_input_CB_Mouse.js.html#sunlight-1-line-1191">line 1191</a>
|
237 | </li>
|
238 | </ul>
|
239 | </dd>
|
240 |
|
241 |
|
242 |
|
243 |
|
244 |
|
245 |
|
246 |
|
247 | </dl>
|
248 |
|
249 |
|
250 |
|
251 |
|
252 |
|
253 |
|
254 |
|
255 |
|
256 |
|
257 |
|
258 |
|
259 |
|
260 |
|
261 | <h5>Returns:</h5>
|
262 |
|
263 |
|
264 | <div class="param-desc">
|
265 | <p>Returns the <a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/div">DIV element</a> that contains the <a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/img">IMG element</a> of the fake cursor (if any).</p>
|
266 | </div>
|
267 |
|
268 |
|
269 |
|
270 | <dl>
|
271 | <dt>
|
272 | Type
|
273 | </dt>
|
274 | <dd>
|
275 |
|
276 | <span class="param-type">Element</span>
|
277 |
|
278 |
|
279 |
|
280 | </dd>
|
281 | </dl>
|
282 |
|
283 |
|
284 |
|
285 |
|
286 |
|
287 | </dd>
|
288 |
|
289 |
|
290 |
|
291 | <hr>
|
292 | <dt>
|
293 | <h4 class="name" id=".getImage"><span class="type-signature"><static> </span>getImage<span class="signature">()</span><span class="type-signature"> → {Element}</span></h4>
|
294 |
|
295 |
|
296 | </dt>
|
297 | <dd>
|
298 |
|
299 |
|
300 | <div class="description">
|
301 | <p>Gets the <a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/img">IMG element</a> of the fake cursor (if any).</p>
|
302 | </div>
|
303 |
|
304 |
|
305 |
|
306 |
|
307 |
|
308 |
|
309 |
|
310 |
|
311 |
|
312 |
|
313 | <dl class="details">
|
314 |
|
315 |
|
316 |
|
317 |
|
318 |
|
319 |
|
320 |
|
321 |
|
322 |
|
323 |
|
324 |
|
325 |
|
326 |
|
327 |
|
328 |
|
329 |
|
330 |
|
331 |
|
332 |
|
333 |
|
334 |
|
335 |
|
336 |
|
337 |
|
338 |
|
339 |
|
340 |
|
341 |
|
342 |
|
343 | <dt class="tag-source method-doc-label method-doc-details-label">Source:</dt>
|
344 | <dd class="tag-source">
|
345 | <ul class="dummy">
|
346 | <li>
|
347 | <a href="CrossBase_input_CB_Mouse.js.html">CrossBase/input/CB_Mouse.js</a>,
|
348 | <a href="CrossBase_input_CB_Mouse.js.html#sunlight-1-line-1202">line 1202</a>
|
349 | </li>
|
350 | </ul>
|
351 | </dd>
|
352 |
|
353 |
|
354 |
|
355 |
|
356 |
|
357 |
|
358 |
|
359 | </dl>
|
360 |
|
361 |
|
362 |
|
363 |
|
364 |
|
365 |
|
366 |
|
367 |
|
368 |
|
369 |
|
370 |
|
371 |
|
372 |
|
373 | <h5>Returns:</h5>
|
374 |
|
375 |
|
376 | <div class="param-desc">
|
377 | <p>Returns the <a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/img">IMG element</a> of the fake cursor (if any).</p>
|
378 | </div>
|
379 |
|
380 |
|
381 |
|
382 | <dl>
|
383 | <dt>
|
384 | Type
|
385 | </dt>
|
386 | <dd>
|
387 |
|
388 | <span class="param-type">Element</span>
|
389 |
|
390 |
|
391 |
|
392 | </dd>
|
393 | </dl>
|
394 |
|
395 |
|
396 |
|
397 |
|
398 |
|
399 | </dd>
|
400 |
|
401 |
|
402 |
|
403 | <hr>
|
404 | <dt>
|
405 | <h4 class="name" id=".hide"><span class="type-signature"><static> </span>hide<span class="signature">( [showNormalCursor])</span><span class="type-signature"></span></h4>
|
406 |
|
407 |
|
408 | </dt>
|
409 | <dd>
|
410 |
|
411 |
|
412 | <div class="description">
|
413 | <p>Hides the fake cursor image.</p>
|
414 | </div>
|
415 |
|
416 |
|
417 |
|
418 |
|
419 |
|
420 |
|
421 |
|
422 |
|
423 | <h5>Parameters:</h5>
|
424 |
|
425 |
|
426 | <table class="params table table-striped">
|
427 | <thead>
|
428 | <tr>
|
429 |
|
430 | <th style="width:12%; min-width:110px;">Name</th>
|
431 |
|
432 |
|
433 | <th style="width:12%; min-width:110px;">Type</th>
|
434 |
|
435 |
|
436 | <th style="width:12%; min-width:110px;">Argument</th>
|
437 |
|
438 |
|
439 |
|
440 | <th style="width:12%; min-width:110px;">Default</th>
|
441 |
|
442 |
|
443 | <th class="last" style="min-width:310px;">Description</th>
|
444 | </tr>
|
445 | </thead>
|
446 |
|
447 | <tbody>
|
448 |
|
449 |
|
450 | <tr>
|
451 |
|
452 | <td class="name" style="width:12%; min-width:110px; overflow-wrap:break-word; word-wrap:break-word; word-break:break-word; line-break:strict; hyphens:none; -webkit-hyphens:none; -moz-hyphens:none;"><code>showNormalCursor</code></td>
|
453 |
|
454 |
|
455 | <td class="type" style="width:12%; min-width:110px; overflow-wrap:break-word; word-wrap:break-word; word-break:break-word; line-break:strict; hyphens:none; -webkit-hyphens:none; -moz-hyphens:none;">
|
456 |
|
457 |
|
458 | <span class="param-type">boolean</span>
|
459 |
|
460 |
|
461 |
|
462 |
|
463 | </td>
|
464 |
|
465 |
|
466 | <td class="attributes" style="width:12%; min-width:110px; overflow-wrap:break-word; word-wrap:break-word; word-break:break-word; line-break:strict; hyphens:none; -webkit-hyphens:none; -moz-hyphens:none;">
|
467 |
|
468 | <optional><br>
|
469 |
|
470 |
|
471 |
|
472 |
|
473 |
|
474 | </td>
|
475 |
|
476 |
|
477 |
|
478 | <td class="default" style="width:12%; min-width:110px; overflow-wrap:break-word; word-wrap:break-word; word-break:break-word; line-break:strict; hyphens:none; -webkit-hyphens:none; -moz-hyphens:none;">
|
479 |
|
480 | true
|
481 |
|
482 | </td>
|
483 |
|
484 |
|
485 | <td class="description last" style="min-width:310px; overflow-wrap:break-word; word-wrap:break-word; word-break:break-word; line-break:strict; hyphens:none; -webkit-hyphens:none; -moz-hyphens:none;"><p>If set to true, restores (shows) the system cursor (calls the <a href="CB_Mouse.html#.restore"><code>CB_Mouse.restore</code></a> function internally).</p></td>
|
486 | </tr>
|
487 |
|
488 |
|
489 | </tbody>
|
490 | </table>
|
491 |
|
492 |
|
493 |
|
494 |
|
495 | <dl class="details">
|
496 |
|
497 |
|
498 |
|
499 |
|
500 |
|
501 |
|
502 |
|
503 |
|
504 |
|
505 |
|
506 |
|
507 |
|
508 |
|
509 |
|
510 |
|
511 |
|
512 |
|
513 |
|
514 |
|
515 |
|
516 |
|
517 |
|
518 |
|
519 |
|
520 |
|
521 |
|
522 |
|
523 |
|
524 |
|
525 | <dt class="tag-source method-doc-label method-doc-details-label">Source:</dt>
|
526 | <dd class="tag-source">
|
527 | <ul class="dummy">
|
528 | <li>
|
529 | <a href="CrossBase_input_CB_Mouse.js.html">CrossBase/input/CB_Mouse.js</a>,
|
530 | <a href="CrossBase_input_CB_Mouse.js.html#sunlight-1-line-1224">line 1224</a>
|
531 | </li>
|
532 | </ul>
|
533 | </dd>
|
534 |
|
535 |
|
536 |
|
537 |
|
538 |
|
539 |
|
540 |
|
541 | </dl>
|
542 |
|
543 |
|
544 |
|
545 |
|
546 |
|
547 |
|
548 |
|
549 |
|
550 |
|
551 |
|
552 |
|
553 |
|
554 |
|
555 |
|
556 |
|
557 | </dd>
|
558 |
|
559 |
|
560 |
|
561 | <hr>
|
562 | <dt>
|
563 | <h4 class="name" id=".isShowing"><span class="type-signature"><static> </span>isShowing<span class="signature">()</span><span class="type-signature"> → {boolean}</span></h4>
|
564 |
|
565 |
|
566 | </dt>
|
567 | <dd>
|
568 |
|
569 |
|
570 | <div class="description">
|
571 | <p>Tells whether the fake cursor is showing or not</p>
|
572 | </div>
|
573 |
|
574 |
|
575 |
|
576 |
|
577 |
|
578 |
|
579 |
|
580 |
|
581 |
|
582 |
|
583 | <dl class="details">
|
584 |
|
585 |
|
586 |
|
587 |
|
588 |
|
589 |
|
590 |
|
591 |
|
592 |
|
593 |
|
594 |
|
595 |
|
596 |
|
597 |
|
598 |
|
599 |
|
600 |
|
601 |
|
602 |
|
603 |
|
604 |
|
605 |
|
606 |
|
607 |
|
608 |
|
609 |
|
610 |
|
611 |
|
612 |
|
613 | <dt class="tag-source method-doc-label method-doc-details-label">Source:</dt>
|
614 | <dd class="tag-source">
|
615 | <ul class="dummy">
|
616 | <li>
|
617 | <a href="CrossBase_input_CB_Mouse.js.html">CrossBase/input/CB_Mouse.js</a>,
|
618 | <a href="CrossBase_input_CB_Mouse.js.html#sunlight-1-line-1213">line 1213</a>
|
619 | </li>
|
620 | </ul>
|
621 | </dd>
|
622 |
|
623 |
|
624 |
|
625 |
|
626 |
|
627 |
|
628 |
|
629 | </dl>
|
630 |
|
631 |
|
632 |
|
633 |
|
634 |
|
635 |
|
636 |
|
637 |
|
638 |
|
639 |
|
640 |
|
641 |
|
642 |
|
643 | <h5>Returns:</h5>
|
644 |
|
645 |
|
646 | <div class="param-desc">
|
647 | <p>Returns whether the fake cursor is showing or not.</p>
|
648 | </div>
|
649 |
|
650 |
|
651 |
|
652 | <dl>
|
653 | <dt>
|
654 | Type
|
655 | </dt>
|
656 | <dd>
|
657 |
|
658 | <span class="param-type">boolean</span>
|
659 |
|
660 |
|
661 |
|
662 | </dd>
|
663 | </dl>
|
664 |
|
665 |
|
666 |
|
667 |
|
668 |
|
669 | </dd>
|
670 |
|
671 |
|
672 |
|
673 | <hr>
|
674 | <dt>
|
675 | <h4 class="name" id=".move"><span class="type-signature"><static> </span>move<span class="signature">( [x] [, y])</span><span class="type-signature"></span></h4>
|
676 |
|
677 |
|
678 | </dt>
|
679 | <dd>
|
680 |
|
681 |
|
682 | <div class="description">
|
683 | <p>Moves the fake cursor image (if it is not hidden). Automatically called when the <a href="https://developer.mozilla.org/en-US/docs/Web/API/Element/mousemove_event">onMouseMove</a> event is fired.</p>
|
684 | </div>
|
685 |
|
686 |
|
687 |
|
688 |
|
689 |
|
690 |
|
691 |
|
692 |
|
693 | <h5>Parameters:</h5>
|
694 |
|
695 |
|
696 | <table class="params table table-striped">
|
697 | <thead>
|
698 | <tr>
|
699 |
|
700 | <th style="width:12%; min-width:110px;">Name</th>
|
701 |
|
702 |
|
703 | <th style="width:12%; min-width:110px;">Type</th>
|
704 |
|
705 |
|
706 | <th style="width:12%; min-width:110px;">Argument</th>
|
707 |
|
708 |
|
709 |
|
710 | <th style="width:12%; min-width:110px;">Default</th>
|
711 |
|
712 |
|
713 | <th class="last" style="min-width:310px;">Description</th>
|
714 | </tr>
|
715 | </thead>
|
716 |
|
717 | <tbody>
|
718 |
|
719 |
|
720 | <tr>
|
721 |
|
722 | <td class="name" style="width:12%; min-width:110px; overflow-wrap:break-word; word-wrap:break-word; word-break:break-word; line-break:strict; hyphens:none; -webkit-hyphens:none; -moz-hyphens:none;"><code>x</code></td>
|
723 |
|
724 |
|
725 | <td class="type" style="width:12%; min-width:110px; overflow-wrap:break-word; word-wrap:break-word; word-break:break-word; line-break:strict; hyphens:none; -webkit-hyphens:none; -moz-hyphens:none;">
|
726 |
|
727 |
|
728 | <span class="param-type">number</span>
|
729 |
|
730 |
|
731 |
|
732 |
|
733 | </td>
|
734 |
|
735 |
|
736 | <td class="attributes" style="width:12%; min-width:110px; overflow-wrap:break-word; word-wrap:break-word; word-break:break-word; line-break:strict; hyphens:none; -webkit-hyphens:none; -moz-hyphens:none;">
|
737 |
|
738 | <optional><br>
|
739 |
|
740 |
|
741 |
|
742 |
|
743 |
|
744 | </td>
|
745 |
|
746 |
|
747 |
|
748 | <td class="default" style="width:12%; min-width:110px; overflow-wrap:break-word; word-wrap:break-word; word-break:break-word; line-break:strict; hyphens:none; -webkit-hyphens:none; -moz-hyphens:none;">
|
749 |
|
750 | CB_Mouse.getX(null, false)
|
751 |
|
752 | </td>
|
753 |
|
754 |
|
755 | <td class="description last" style="min-width:310px; overflow-wrap:break-word; word-wrap:break-word; word-break:break-word; line-break:strict; hyphens:none; -webkit-hyphens:none; -moz-hyphens:none;"><p>The X coordinate (horizontal position) in pixels where the fake cursor image wants to be moved to. If not provided, it will use the value returned by calling CB_Mouse.getX(null, false) internally.</p></td>
|
756 | </tr>
|
757 |
|
758 |
|
759 |
|
760 | <tr>
|
761 |
|
762 | <td class="name" style="width:12%; min-width:110px; overflow-wrap:break-word; word-wrap:break-word; word-break:break-word; line-break:strict; hyphens:none; -webkit-hyphens:none; -moz-hyphens:none;"><code>y</code></td>
|
763 |
|
764 |
|
765 | <td class="type" style="width:12%; min-width:110px; overflow-wrap:break-word; word-wrap:break-word; word-break:break-word; line-break:strict; hyphens:none; -webkit-hyphens:none; -moz-hyphens:none;">
|
766 |
|
767 |
|
768 | <span class="param-type">number</span>
|
769 |
|
770 |
|
771 |
|
772 |
|
773 | </td>
|
774 |
|
775 |
|
776 | <td class="attributes" style="width:12%; min-width:110px; overflow-wrap:break-word; word-wrap:break-word; word-break:break-word; line-break:strict; hyphens:none; -webkit-hyphens:none; -moz-hyphens:none;">
|
777 |
|
778 | <optional><br>
|
779 |
|
780 |
|
781 |
|
782 |
|
783 |
|
784 | </td>
|
785 |
|
786 |
|
787 |
|
788 | <td class="default" style="width:12%; min-width:110px; overflow-wrap:break-word; word-wrap:break-word; word-break:break-word; line-break:strict; hyphens:none; -webkit-hyphens:none; -moz-hyphens:none;">
|
789 |
|
790 | CB_Mouse.getY(null, false)
|
791 |
|
792 | </td>
|
793 |
|
794 |
|
795 | <td class="description last" style="min-width:310px; overflow-wrap:break-word; word-wrap:break-word; word-break:break-word; line-break:strict; hyphens:none; -webkit-hyphens:none; -moz-hyphens:none;"><p>The Y coordinate (vertical position) in pixels where the fake cursor image wants to be moved to. If not provided, it will use the value returned by calling CB_Mouse.getY(null, false) internally.</p></td>
|
796 | </tr>
|
797 |
|
798 |
|
799 | </tbody>
|
800 | </table>
|
801 |
|
802 |
|
803 |
|
804 |
|
805 | <dl class="details">
|
806 |
|
807 |
|
808 |
|
809 |
|
810 |
|
811 |
|
812 |
|
813 |
|
814 |
|
815 |
|
816 |
|
817 |
|
818 |
|
819 |
|
820 |
|
821 |
|
822 |
|
823 |
|
824 |
|
825 |
|
826 |
|
827 |
|
828 |
|
829 |
|
830 |
|
831 |
|
832 |
|
833 |
|
834 |
|
835 | <dt class="tag-source method-doc-label method-doc-details-label">Source:</dt>
|
836 | <dd class="tag-source">
|
837 | <ul class="dummy">
|
838 | <li>
|
839 | <a href="CrossBase_input_CB_Mouse.js.html">CrossBase/input/CB_Mouse.js</a>,
|
840 | <a href="CrossBase_input_CB_Mouse.js.html#sunlight-1-line-1243">line 1243</a>
|
841 | </li>
|
842 | </ul>
|
843 | </dd>
|
844 |
|
845 |
|
846 |
|
847 |
|
848 |
|
849 |
|
850 |
|
851 | </dl>
|
852 |
|
853 |
|
854 |
|
855 |
|
856 |
|
857 |
|
858 |
|
859 |
|
860 |
|
861 |
|
862 |
|
863 |
|
864 |
|
865 |
|
866 |
|
867 | </dd>
|
868 |
|
869 |
|
870 |
|
871 | <hr>
|
872 | <dt>
|
873 | <h4 class="name" id=".set"><span class="type-signature"><static> </span>set<span class="signature">( [showCursorImage] [, cursorImage] [, cursorImageWidth] [, cursorImageHeight] [, hideNormalCursor] [, isSprite] [, numberOfFrames] [, framesMs] [, divElement] [, imageElement])</span><span class="type-signature"></span></h4>
|
874 |
|
875 |
|
876 | </dt>
|
877 | <dd>
|
878 |
|
879 |
|
880 | <div class="description">
|
881 | <p>Uses an <a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/img">IMG element</a> inside a <a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/div">DIV element</a> (fakes the cursor) to simulate the mouse cursor (following its movements). If it was already called before and a fake cursor is already being used, the <a href="CB_Mouse.CursorImage.html#.hide"><code>CB_Mouse.CursorImage.hide</code></a> function must be called before in order to start using a different fake cursor image.<br>
|
882 | <br /><br>
|
883 | Caution: Performance could be dramatically decreased while using this workaround.</p>
|
884 | </div>
|
885 |
|
886 |
|
887 |
|
888 |
|
889 |
|
890 |
|
891 |
|
892 |
|
893 | <h5>Parameters:</h5>
|
894 |
|
895 |
|
896 | <table class="params table table-striped">
|
897 | <thead>
|
898 | <tr>
|
899 |
|
900 | <th style="width:12%; min-width:110px;">Name</th>
|
901 |
|
902 |
|
903 | <th style="width:12%; min-width:110px;">Type</th>
|
904 |
|
905 |
|
906 | <th style="width:12%; min-width:110px;">Argument</th>
|
907 |
|
908 |
|
909 |
|
910 | <th style="width:12%; min-width:110px;">Default</th>
|
911 |
|
912 |
|
913 | <th class="last" style="min-width:310px;">Description</th>
|
914 | </tr>
|
915 | </thead>
|
916 |
|
917 | <tbody>
|
918 |
|
919 |
|
920 | <tr>
|
921 |
|
922 | <td class="name" style="width:12%; min-width:110px; overflow-wrap:break-word; word-wrap:break-word; word-break:break-word; line-break:strict; hyphens:none; -webkit-hyphens:none; -moz-hyphens:none;"><code>showCursorImage</code></td>
|
923 |
|
924 |
|
925 | <td class="type" style="width:12%; min-width:110px; overflow-wrap:break-word; word-wrap:break-word; word-break:break-word; line-break:strict; hyphens:none; -webkit-hyphens:none; -moz-hyphens:none;">
|
926 |
|
927 |
|
928 | <span class="param-type">boolean</span>
|
929 |
|
930 |
|
931 |
|
932 |
|
933 | </td>
|
934 |
|
935 |
|
936 | <td class="attributes" style="width:12%; min-width:110px; overflow-wrap:break-word; word-wrap:break-word; word-break:break-word; line-break:strict; hyphens:none; -webkit-hyphens:none; -moz-hyphens:none;">
|
937 |
|
938 | <optional><br>
|
939 |
|
940 |
|
941 |
|
942 |
|
943 |
|
944 | </td>
|
945 |
|
946 |
|
947 |
|
948 | <td class="default" style="width:12%; min-width:110px; overflow-wrap:break-word; word-wrap:break-word; word-break:break-word; line-break:strict; hyphens:none; -webkit-hyphens:none; -moz-hyphens:none;">
|
949 |
|
950 | true
|
951 |
|
952 | </td>
|
953 |
|
954 |
|
955 | <td class="description last" style="min-width:310px; overflow-wrap:break-word; word-wrap:break-word; word-break:break-word; line-break:strict; hyphens:none; -webkit-hyphens:none; -moz-hyphens:none;"><p>If set to true and a valid cursor image is given, the fake cursor functionality will be used. Otherwise, the fake cursor will stop being used.</p></td>
|
956 | </tr>
|
957 |
|
958 |
|
959 |
|
960 | <tr>
|
961 |
|
962 | <td class="name" style="width:12%; min-width:110px; overflow-wrap:break-word; word-wrap:break-word; word-break:break-word; line-break:strict; hyphens:none; -webkit-hyphens:none; -moz-hyphens:none;"><code>cursorImage</code></td>
|
963 |
|
964 |
|
965 | <td class="type" style="width:12%; min-width:110px; overflow-wrap:break-word; word-wrap:break-word; word-break:break-word; line-break:strict; hyphens:none; -webkit-hyphens:none; -moz-hyphens:none;">
|
966 |
|
967 |
|
968 | <span class="param-type">string</span>
|
969 |
|
970 |
|
971 |
|
972 |
|
973 | </td>
|
974 |
|
975 |
|
976 | <td class="attributes" style="width:12%; min-width:110px; overflow-wrap:break-word; word-wrap:break-word; word-break:break-word; line-break:strict; hyphens:none; -webkit-hyphens:none; -moz-hyphens:none;">
|
977 |
|
978 | <optional><br>
|
979 |
|
980 |
|
981 |
|
982 |
|
983 |
|
984 | </td>
|
985 |
|
986 |
|
987 |
|
988 | <td class="default" style="width:12%; min-width:110px; overflow-wrap:break-word; word-wrap:break-word; word-break:break-word; line-break:strict; hyphens:none; -webkit-hyphens:none; -moz-hyphens:none;">
|
989 |
|
990 | </td>
|
991 |
|
992 |
|
993 | <td class="description last" style="min-width:310px; overflow-wrap:break-word; word-wrap:break-word; word-break:break-word; line-break:strict; hyphens:none; -webkit-hyphens:none; -moz-hyphens:none;"><p>If a valid image path is given and "showCursorImage" is set to true, the fake cursor functionality will be used with the given image. Otherwise, the fake cursor will stop being used.</p></td>
|
994 | </tr>
|
995 |
|
996 |
|
997 |
|
998 | <tr>
|
999 |
|
1000 | <td class="name" style="width:12%; min-width:110px; overflow-wrap:break-word; word-wrap:break-word; word-break:break-word; line-break:strict; hyphens:none; -webkit-hyphens:none; -moz-hyphens:none;"><code>cursorImageWidth</code></td>
|
1001 |
|
1002 |
|
1003 | <td class="type" style="width:12%; min-width:110px; overflow-wrap:break-word; word-wrap:break-word; word-break:break-word; line-break:strict; hyphens:none; -webkit-hyphens:none; -moz-hyphens:none;">
|
1004 |
|
1005 |
|
1006 | <span class="param-type">number</span>
|
1007 |
|
1008 |
|
1009 |
|
1010 |
|
1011 | </td>
|
1012 |
|
1013 |
|
1014 | <td class="attributes" style="width:12%; min-width:110px; overflow-wrap:break-word; word-wrap:break-word; word-break:break-word; line-break:strict; hyphens:none; -webkit-hyphens:none; -moz-hyphens:none;">
|
1015 |
|
1016 | <optional><br>
|
1017 |
|
1018 |
|
1019 |
|
1020 |
|
1021 |
|
1022 | </td>
|
1023 |
|
1024 |
|
1025 |
|
1026 | <td class="default" style="width:12%; min-width:110px; overflow-wrap:break-word; word-wrap:break-word; word-break:break-word; line-break:strict; hyphens:none; -webkit-hyphens:none; -moz-hyphens:none;">
|
1027 |
|
1028 | 32
|
1029 |
|
1030 | </td>
|
1031 |
|
1032 |
|
1033 | <td class="description last" style="min-width:310px; overflow-wrap:break-word; word-wrap:break-word; word-break:break-word; line-break:strict; hyphens:none; -webkit-hyphens:none; -moz-hyphens:none;"><p>Width in pixels of the cursor image.</p></td>
|
1034 | </tr>
|
1035 |
|
1036 |
|
1037 |
|
1038 | <tr>
|
1039 |
|
1040 | <td class="name" style="width:12%; min-width:110px; overflow-wrap:break-word; word-wrap:break-word; word-break:break-word; line-break:strict; hyphens:none; -webkit-hyphens:none; -moz-hyphens:none;"><code>cursorImageHeight</code></td>
|
1041 |
|
1042 |
|
1043 | <td class="type" style="width:12%; min-width:110px; overflow-wrap:break-word; word-wrap:break-word; word-break:break-word; line-break:strict; hyphens:none; -webkit-hyphens:none; -moz-hyphens:none;">
|
1044 |
|
1045 |
|
1046 | <span class="param-type">number</span>
|
1047 |
|
1048 |
|
1049 |
|
1050 |
|
1051 | </td>
|
1052 |
|
1053 |
|
1054 | <td class="attributes" style="width:12%; min-width:110px; overflow-wrap:break-word; word-wrap:break-word; word-break:break-word; line-break:strict; hyphens:none; -webkit-hyphens:none; -moz-hyphens:none;">
|
1055 |
|
1056 | <optional><br>
|
1057 |
|
1058 |
|
1059 |
|
1060 |
|
1061 |
|
1062 | </td>
|
1063 |
|
1064 |
|
1065 |
|
1066 | <td class="default" style="width:12%; min-width:110px; overflow-wrap:break-word; word-wrap:break-word; word-break:break-word; line-break:strict; hyphens:none; -webkit-hyphens:none; -moz-hyphens:none;">
|
1067 |
|
1068 | 32
|
1069 |
|
1070 | </td>
|
1071 |
|
1072 |
|
1073 | <td class="description last" style="min-width:310px; overflow-wrap:break-word; word-wrap:break-word; word-break:break-word; line-break:strict; hyphens:none; -webkit-hyphens:none; -moz-hyphens:none;"><p>Height in pixels of the cursor image.</p></td>
|
1074 | </tr>
|
1075 |
|
1076 |
|
1077 |
|
1078 | <tr>
|
1079 |
|
1080 | <td class="name" style="width:12%; min-width:110px; overflow-wrap:break-word; word-wrap:break-word; word-break:break-word; line-break:strict; hyphens:none; -webkit-hyphens:none; -moz-hyphens:none;"><code>hideNormalCursor</code></td>
|
1081 |
|
1082 |
|
1083 | <td class="type" style="width:12%; min-width:110px; overflow-wrap:break-word; word-wrap:break-word; word-break:break-word; line-break:strict; hyphens:none; -webkit-hyphens:none; -moz-hyphens:none;">
|
1084 |
|
1085 |
|
1086 | <span class="param-type">boolean</span>
|
1087 |
|
1088 |
|
1089 |
|
1090 |
|
1091 | </td>
|
1092 |
|
1093 |
|
1094 | <td class="attributes" style="width:12%; min-width:110px; overflow-wrap:break-word; word-wrap:break-word; word-break:break-word; line-break:strict; hyphens:none; -webkit-hyphens:none; -moz-hyphens:none;">
|
1095 |
|
1096 | <optional><br>
|
1097 |
|
1098 |
|
1099 |
|
1100 |
|
1101 |
|
1102 | </td>
|
1103 |
|
1104 |
|
1105 |
|
1106 | <td class="default" style="width:12%; min-width:110px; overflow-wrap:break-word; word-wrap:break-word; word-break:break-word; line-break:strict; hyphens:none; -webkit-hyphens:none; -moz-hyphens:none;">
|
1107 |
|
1108 | true
|
1109 |
|
1110 | </td>
|
1111 |
|
1112 |
|
1113 | <td class="description last" style="min-width:310px; overflow-wrap:break-word; word-wrap:break-word; word-break:break-word; line-break:strict; hyphens:none; -webkit-hyphens:none; -moz-hyphens:none;"><p>If set to true, hides the system cursor (calls the <a href="CB_Mouse.html#.hide"><code>CB_Mouse.hide</code></a> function internally). Otherwise, shows the system cursor (calls the <a href="CB_Mouse.html#.restore"><code>CB_Mouse.restore</code></a> function internally).</p></td>
|
1114 | </tr>
|
1115 |
|
1116 |
|
1117 |
|
1118 | <tr>
|
1119 |
|
1120 | <td class="name" style="width:12%; min-width:110px; overflow-wrap:break-word; word-wrap:break-word; word-break:break-word; line-break:strict; hyphens:none; -webkit-hyphens:none; -moz-hyphens:none;"><code>isSprite</code></td>
|
1121 |
|
1122 |
|
1123 | <td class="type" style="width:12%; min-width:110px; overflow-wrap:break-word; word-wrap:break-word; word-break:break-word; line-break:strict; hyphens:none; -webkit-hyphens:none; -moz-hyphens:none;">
|
1124 |
|
1125 |
|
1126 | <span class="param-type">boolean</span>
|
1127 |
|
1128 |
|
1129 |
|
1130 |
|
1131 | </td>
|
1132 |
|
1133 |
|
1134 | <td class="attributes" style="width:12%; min-width:110px; overflow-wrap:break-word; word-wrap:break-word; word-break:break-word; line-break:strict; hyphens:none; -webkit-hyphens:none; -moz-hyphens:none;">
|
1135 |
|
1136 | <optional><br>
|
1137 |
|
1138 |
|
1139 |
|
1140 |
|
1141 |
|
1142 | </td>
|
1143 |
|
1144 |
|
1145 |
|
1146 | <td class="default" style="width:12%; min-width:110px; overflow-wrap:break-word; word-wrap:break-word; word-break:break-word; line-break:strict; hyphens:none; -webkit-hyphens:none; -moz-hyphens:none;">
|
1147 |
|
1148 | false
|
1149 |
|
1150 | </td>
|
1151 |
|
1152 |
|
1153 | <td class="description last" style="min-width:310px; overflow-wrap:break-word; word-wrap:break-word; word-break:break-word; line-break:strict; hyphens:none; -webkit-hyphens:none; -moz-hyphens:none;"><p>Defines whether the cursor will be animated (using sprites) or not. If so, the cursorImage must be an image containing sprites horizontally (their individual width is defined by the "cursorImageWidth" parameter). Once the last sprite is reached, it returns to the first one automatically and continues to the next one again (without stopping).</p></td>
|
1154 | </tr>
|
1155 |
|
1156 |
|
1157 |
|
1158 | <tr>
|
1159 |
|
1160 | <td class="name" style="width:12%; min-width:110px; overflow-wrap:break-word; word-wrap:break-word; word-break:break-word; line-break:strict; hyphens:none; -webkit-hyphens:none; -moz-hyphens:none;"><code>numberOfFrames</code></td>
|
1161 |
|
1162 |
|
1163 | <td class="type" style="width:12%; min-width:110px; overflow-wrap:break-word; word-wrap:break-word; word-break:break-word; line-break:strict; hyphens:none; -webkit-hyphens:none; -moz-hyphens:none;">
|
1164 |
|
1165 |
|
1166 | <span class="param-type">number</span>
|
1167 |
|
1168 |
|
1169 |
|
1170 |
|
1171 | </td>
|
1172 |
|
1173 |
|
1174 | <td class="attributes" style="width:12%; min-width:110px; overflow-wrap:break-word; word-wrap:break-word; word-break:break-word; line-break:strict; hyphens:none; -webkit-hyphens:none; -moz-hyphens:none;">
|
1175 |
|
1176 | <optional><br>
|
1177 |
|
1178 |
|
1179 |
|
1180 |
|
1181 |
|
1182 | </td>
|
1183 |
|
1184 |
|
1185 |
|
1186 | <td class="default" style="width:12%; min-width:110px; overflow-wrap:break-word; word-wrap:break-word; word-break:break-word; line-break:strict; hyphens:none; -webkit-hyphens:none; -moz-hyphens:none;">
|
1187 |
|
1188 | 1
|
1189 |
|
1190 | </td>
|
1191 |
|
1192 |
|
1193 | <td class="description last" style="min-width:310px; overflow-wrap:break-word; word-wrap:break-word; word-break:break-word; line-break:strict; hyphens:none; -webkit-hyphens:none; -moz-hyphens:none;"><p>Number of frames (sprites) being used from the cursor image ("cursorImage" parameter). Used when the "isSprite" parameter is set to true.</p></td>
|
1194 | </tr>
|
1195 |
|
1196 |
|
1197 |
|
1198 | <tr>
|
1199 |
|
1200 | <td class="name" style="width:12%; min-width:110px; overflow-wrap:break-word; word-wrap:break-word; word-break:break-word; line-break:strict; hyphens:none; -webkit-hyphens:none; -moz-hyphens:none;"><code>framesMs</code></td>
|
1201 |
|
1202 |
|
1203 | <td class="type" style="width:12%; min-width:110px; overflow-wrap:break-word; word-wrap:break-word; word-break:break-word; line-break:strict; hyphens:none; -webkit-hyphens:none; -moz-hyphens:none;">
|
1204 |
|
1205 |
|
1206 | <span class="param-type">number</span>
|
1207 |
|
1208 |
|
1209 |
|
1210 |
|
1211 | </td>
|
1212 |
|
1213 |
|
1214 | <td class="attributes" style="width:12%; min-width:110px; overflow-wrap:break-word; word-wrap:break-word; word-break:break-word; line-break:strict; hyphens:none; -webkit-hyphens:none; -moz-hyphens:none;">
|
1215 |
|
1216 | <optional><br>
|
1217 |
|
1218 |
|
1219 |
|
1220 |
|
1221 |
|
1222 | </td>
|
1223 |
|
1224 |
|
1225 |
|
1226 | <td class="default" style="width:12%; min-width:110px; overflow-wrap:break-word; word-wrap:break-word; word-break:break-word; line-break:strict; hyphens:none; -webkit-hyphens:none; -moz-hyphens:none;">
|
1227 |
|
1228 | 100
|
1229 |
|
1230 | </td>
|
1231 |
|
1232 |
|
1233 | <td class="description last" style="min-width:310px; overflow-wrap:break-word; word-wrap:break-word; word-break:break-word; line-break:strict; hyphens:none; -webkit-hyphens:none; -moz-hyphens:none;"><p>Number of milliseconds between each frame (between one sprite and next one). Used when the "isSprite" parameter is set to true.</p></td>
|
1234 | </tr>
|
1235 |
|
1236 |
|
1237 |
|
1238 | <tr>
|
1239 |
|
1240 | <td class="name" style="width:12%; min-width:110px; overflow-wrap:break-word; word-wrap:break-word; word-break:break-word; line-break:strict; hyphens:none; -webkit-hyphens:none; -moz-hyphens:none;"><code>divElement</code></td>
|
1241 |
|
1242 |
|
1243 | <td class="type" style="width:12%; min-width:110px; overflow-wrap:break-word; word-wrap:break-word; word-break:break-word; line-break:strict; hyphens:none; -webkit-hyphens:none; -moz-hyphens:none;">
|
1244 |
|
1245 |
|
1246 | <span class="param-type">Element</span>
|
1247 |
|
1248 |
|
1249 |
|
1250 |
|
1251 | </td>
|
1252 |
|
1253 |
|
1254 | <td class="attributes" style="width:12%; min-width:110px; overflow-wrap:break-word; word-wrap:break-word; word-break:break-word; line-break:strict; hyphens:none; -webkit-hyphens:none; -moz-hyphens:none;">
|
1255 |
|
1256 | <optional><br>
|
1257 |
|
1258 |
|
1259 |
|
1260 |
|
1261 |
|
1262 | </td>
|
1263 |
|
1264 |
|
1265 |
|
1266 | <td class="default" style="width:12%; min-width:110px; overflow-wrap:break-word; word-wrap:break-word; word-break:break-word; line-break:strict; hyphens:none; -webkit-hyphens:none; -moz-hyphens:none;">
|
1267 |
|
1268 | CB_Elements.id('CB_fakeCursorImageDiv')
|
1269 |
|
1270 | </td>
|
1271 |
|
1272 |
|
1273 | <td class="description last" style="min-width:310px; overflow-wrap:break-word; word-wrap:break-word; word-break:break-word; line-break:strict; hyphens:none; -webkit-hyphens:none; -moz-hyphens:none;"><p>The ID of the <a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/div">DIV element</a> that will contain the image of the fake cursor (uses a <a href="https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement">DOM element</a> with "CB_fakeCursorImageDiv" ID by default).</p></td>
|
1274 | </tr>
|
1275 |
|
1276 |
|
1277 |
|
1278 | <tr>
|
1279 |
|
1280 | <td class="name" style="width:12%; min-width:110px; overflow-wrap:break-word; word-wrap:break-word; word-break:break-word; line-break:strict; hyphens:none; -webkit-hyphens:none; -moz-hyphens:none;"><code>imageElement</code></td>
|
1281 |
|
1282 |
|
1283 | <td class="type" style="width:12%; min-width:110px; overflow-wrap:break-word; word-wrap:break-word; word-break:break-word; line-break:strict; hyphens:none; -webkit-hyphens:none; -moz-hyphens:none;">
|
1284 |
|
1285 |
|
1286 | <span class="param-type">Element</span>
|
1287 |
|
1288 |
|
1289 |
|
1290 |
|
1291 | </td>
|
1292 |
|
1293 |
|
1294 | <td class="attributes" style="width:12%; min-width:110px; overflow-wrap:break-word; word-wrap:break-word; word-break:break-word; line-break:strict; hyphens:none; -webkit-hyphens:none; -moz-hyphens:none;">
|
1295 |
|
1296 | <optional><br>
|
1297 |
|
1298 |
|
1299 |
|
1300 |
|
1301 |
|
1302 | </td>
|
1303 |
|
1304 |
|
1305 |
|
1306 | <td class="default" style="width:12%; min-width:110px; overflow-wrap:break-word; word-wrap:break-word; word-break:break-word; line-break:strict; hyphens:none; -webkit-hyphens:none; -moz-hyphens:none;">
|
1307 |
|
1308 | CB_Elements.id('CB_fakeCursorImage')
|
1309 |
|
1310 | </td>
|
1311 |
|
1312 |
|
1313 | <td class="description last" style="min-width:310px; overflow-wrap:break-word; word-wrap:break-word; word-break:break-word; line-break:strict; hyphens:none; -webkit-hyphens:none; -moz-hyphens:none;"><p>The ID of the <a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/img">IMG element</a> that will contain the fake cursor (uses a <a href="https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement">DOM element</a> with "CB_fakeCursorImage" ID by default).</p></td>
|
1314 | </tr>
|
1315 |
|
1316 |
|
1317 | </tbody>
|
1318 | </table>
|
1319 |
|
1320 |
|
1321 |
|
1322 |
|
1323 | <dl class="details">
|
1324 |
|
1325 |
|
1326 |
|
1327 |
|
1328 |
|
1329 |
|
1330 |
|
1331 |
|
1332 |
|
1333 |
|
1334 |
|
1335 |
|
1336 |
|
1337 |
|
1338 |
|
1339 |
|
1340 |
|
1341 |
|
1342 |
|
1343 |
|
1344 |
|
1345 |
|
1346 |
|
1347 |
|
1348 |
|
1349 |
|
1350 |
|
1351 |
|
1352 |
|
1353 | <dt class="tag-source method-doc-label method-doc-details-label">Source:</dt>
|
1354 | <dd class="tag-source">
|
1355 | <ul class="dummy">
|
1356 | <li>
|
1357 | <a href="CrossBase_input_CB_Mouse.js.html">CrossBase/input/CB_Mouse.js</a>,
|
1358 | <a href="CrossBase_input_CB_Mouse.js.html#sunlight-1-line-1093">line 1093</a>
|
1359 | </li>
|
1360 | </ul>
|
1361 | </dd>
|
1362 |
|
1363 |
|
1364 |
|
1365 |
|
1366 |
|
1367 |
|
1368 |
|
1369 | <dt class="tag-todo method-doc-label method-doc-details-label">To Do:</dt>
|
1370 | <dd class="tag-todo">
|
1371 | <ul>
|
1372 | <li>Allow defining an "onMove" parameter (a callback) to be able to call the "move" method with non-default parameters, etc.</li>
|
1373 | </ul>
|
1374 | </dd>
|
1375 |
|
1376 | </dl>
|
1377 |
|
1378 |
|
1379 |
|
1380 |
|
1381 |
|
1382 |
|
1383 |
|
1384 |
|
1385 |
|
1386 |
|
1387 |
|
1388 |
|
1389 |
|
1390 |
|
1391 |
|
1392 | </dd>
|
1393 |
|
1394 | </dl>
|
1395 |
|
1396 |
|
1397 |
|
1398 |
|
1399 |
|
1400 | </article>
|
1401 |
|
1402 | </section>
|
1403 |
|
1404 |
|
1405 |
|
1406 |
|
1407 | </div>
|
1408 | </div>
|
1409 |
|
1410 | <div class="clearfix"></div>
|
1411 |
|
1412 |
|
1413 | <div class="col-md-3">
|
1414 | <div id="toc" class="col-md-3 hidden-xs hidden-sm hidden-md" style="display:none; visibility:hidden;"></div>
|
1415 | </div>
|
1416 |
|
1417 |
|
1418 | </div>
|
1419 | </div>
|
1420 |
|
1421 |
|
1422 | <div class="modal fade" id="searchResults">
|
1423 | <div class="modal-dialog">
|
1424 | <div class="modal-content">
|
1425 | <div class="modal-header">
|
1426 | <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button>
|
1427 | <h4 class="modal-title">Search results</h4>
|
1428 | </div>
|
1429 | <div class="modal-body"></div>
|
1430 | <div class="modal-footer">
|
1431 | <button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
|
1432 | </div>
|
1433 | </div>
|
1434 | </div>
|
1435 | </div>
|
1436 |
|
1437 |
|
1438 | <footer>
|
1439 |
|
1440 |
|
1441 | <span class="copyright">
|
1442 | <span style="color:#000000">© <address style="display:inline; font-style:normal;"><a href="https://crossbrowdy.com/" target="_blank">CrossBrowdy</a> API documentation</address> by <a href="https://joanalbamaldonado.com/" target="_blank">Joan Alba Maldonado</a> - <a href="https://creativecommons.org/licenses/by/4.0/" target="_blank">Creative Commons Attribution 4.0 International</a><br />DocStrap Copyright © 2012-2015 The contributors to the JSDoc3 and DocStrap projects.</span>
|
1443 | </span>
|
1444 |
|
1445 | <span class="jsdoc-message">
|
1446 | Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 4.0.2</a>
|
1447 |
|
1448 | on Wed Mar 22nd 2023
|
1449 |
|
1450 | using the <a href="https://github.com/docstrap/docstrap">DocStrap template</a>.
|
1451 | </span>
|
1452 | </footer>
|
1453 |
|
1454 | <script src="scripts/docstrap.lib.js"></script>
|
1455 | <script src="scripts/toc.js"></script>
|
1456 |
|
1457 | <script type="text/javascript" src="scripts/fulltext-search-ui.js"></script>
|
1458 |
|
1459 |
|
1460 | <script>
|
1461 | $( function () {
|
1462 | $( "[id*='$']" ).each( function () {
|
1463 | var $this = $( this );
|
1464 |
|
1465 | $this.attr( "id", $this.attr( "id" ).replace( "$", "__" ) );
|
1466 | } );
|
1467 |
|
1468 | $( ".tutorial-section pre, .readme-section pre, pre.prettyprint.source" ).each( function () {
|
1469 | var $this = $( this );
|
1470 |
|
1471 | var example = $this.find( "code" );
|
1472 | exampleText = example.html();
|
1473 | var lang = /{@lang (.*?)}/.exec( exampleText );
|
1474 | if ( lang && lang[1] ) {
|
1475 | exampleText = exampleText.replace( lang[0], "" );
|
1476 | example.html( exampleText );
|
1477 | lang = lang[1];
|
1478 | } else {
|
1479 | var langClassMatch = example.parent()[0].className.match(/lang\-(\S+)/);
|
1480 | lang = langClassMatch ? langClassMatch[1] : "javascript";
|
1481 | }
|
1482 |
|
1483 | if ( lang ) {
|
1484 |
|
1485 | $this
|
1486 | .addClass( "sunlight-highlight-" + lang )
|
1487 | .addClass( "linenums" )
|
1488 | .html( example.html() );
|
1489 |
|
1490 | }
|
1491 | } );
|
1492 |
|
1493 | Sunlight.highlightAll( {
|
1494 | lineNumbers : true,
|
1495 | showMenu : true,
|
1496 | enableDoclinks : true
|
1497 | } );
|
1498 |
|
1499 | $.catchAnchorLinks( {
|
1500 | navbarOffset: 10
|
1501 | } );
|
1502 | $( "#toc" ).toc( {
|
1503 | anchorName : function ( i, heading, prefix ) {
|
1504 | return $( heading ).attr( "id" ) || ( prefix + i );
|
1505 | },
|
1506 | selectors : "#toc-content h1,#toc-content h2,#toc-content h3,#toc-content h4",
|
1507 | showAndHide : false,
|
1508 | smoothScrolling: true
|
1509 | } );
|
1510 |
|
1511 | $( "#main span[id^='toc']" ).addClass( "toc-shim" );
|
1512 | $( '.dropdown-toggle' ).dropdown();
|
1513 |
|
1514 | $( "table" ).each( function () {
|
1515 | var $this = $( this );
|
1516 | $this.addClass('table');
|
1517 | } );
|
1518 |
|
1519 | } );
|
1520 | </script>
|
1521 |
|
1522 |
|
1523 |
|
1524 |
|
1525 |
|
1526 |
|
1527 |
|
1528 |
|
1529 |
|
1530 |
|
1531 | <script type="text/javascript">
|
1532 | $(document).ready(function() {
|
1533 | SearcherDisplay.init();
|
1534 | });
|
1535 | </script>
|
1536 |
|
1537 |
|
1538 | </body>
|
1539 | </html> |
\ | No newline at end of file |