1 line
20 KiB
HTML
Executable File
1 line
20 KiB
HTML
Executable File
<!DOCTYPE html><html lang="en"><head><meta http-equiv="content-type" content="text/html; charset=utf-8" /><meta name="generator" content="JsDoc Toolkit" /><title>JsDoc Reference - $_</title><script type="text/javascript" src="../jproton.js"></script><script type="text/javascript" src="../ui.js"></script><script type="text/javascript" src="../sh.js"></script><link rel=stylesheet href="../sh.css" type="text/css"><link rel=stylesheet href="../default.css" type="text/css"></head><body><div id="main-wrapper"><div id="main"><div id="index" class="fixed"><div id="index-wrapper"><div class="header"><div id="index-close" title="Esconde o outline."> </div><div id="index-title">Project Outline</div></div><div id="index-menu"><a href="../index.html">Class Index</a> | <a href="../files.html">File Index</a></div><div id="index-content"><div class="classList"><div class="section"><div title='$_ Constructor function' class='itemName namespace'><div class='method-toggler'> </div><span class='icon'><a href="../symbols/%24_.html">$_</a></span></div><div class='sectionItems'><div class='sectionItem classProperty'><b class='icon' title='DOM Dom manipulation module'><a href="../symbols/%24_.dom.html">dom</a></b></div><div class='sectionItem classProperty'><b class='icon' title='Wrapper for localstorage / sessionstorage data serialization.'><a href="../symbols/%24_.store.html">store</a></b></div><div class='sectionItem classProperty'><b class='icon' title='Event Listener module'><a href="../symbols/%24_.event.html">event</a></b></div><div class='sectionItem classMethod'><b class='icon' title='Simple DOM selector function'><a href="../symbols/%24_.html#.$">$</a></b><span class='signature'>(<span title="selector">string</span>, <span title="context">object</span>)</span></div><div class='sectionItem classMethod'><b class='icon' title='Adds the property `obj` to the $_ object, calling it `name`'><a href="../symbols/%24_.html#.ext">ext</a></b><span class='signature'>(<span title="name">string</span>, <span title="obj">object</span>)</span></div><div class='sectionItem classMethod'><b class='icon' title='Iterates over a $_ object, applying a callback to each item'><a href="../symbols/%24_.html#.each">each</a></b><span class='signature'>(<span title="callback">function</span>)</span></div><div class='sectionItem classMethod'><b class='icon' title='Retrieves the type of the passed variable'><a href="../symbols/%24_.html#.type">type</a></b><span class='signature'>(<span title="obj">mixed</span>)</span></div><div class='sectionItem classMethod'><b class='icon' title='Sends a GET type ajax request'><a href="../symbols/%24_.html#.get">get</a></b><span class='signature'>(<span title="url">string</span>, <span title="data">object</span>, <span title="success_callback">function</span>, <span title="error_callback">function</span>)</span></div><div class='sectionItem classMethod'><b class='icon' title='Sends a POST type ajax request'><a href="../symbols/%24_.html#.post">post</a></b><span class='signature'>(<span title="url">string</span>, <span title="data">object</span>, <span title="success_callback">function</span>, <span title="error_callback">function</span>)</span></div></div></div><div class="section"><div title='DOM Dom manipulation module' class='itemName namespace'><div class='method-toggler'> </div><span class='icon'><a href="../symbols/%24_.dom.html">$_.dom</a></span></div><div class='sectionItems'><div class='sectionItem classMethod'><b class='icon' title='Adds a class to the element(s) specified by the current selector'><a href="../symbols/%24_.dom.html#.addClass">addClass</a></b><span class='signature'>(<span title="class">string</span>)</span></div><div class='sectionItem classMethod'><b class='icon' title='Removes a class from the element(s) specified by the current selector'><a href="../symbols/%24_.dom.html#.removeClass">removeClass</a></b><span class='signature'>(<span title="class">string</span>)</span></div><div class='sectionItem classMethod'><b class='icon' title='Hides the element(s) specified by the current selector'><a href="../symbols/%24_.dom.html#.hide">hide</a></b><span class='signature'>()</span></div><div class='sectionItem classMethod'><b class='icon' title='Shows the element(s) specified by the current selector.'><a href="../symbols/%24_.dom.html#.show">show</a></b><span class='signature'>(<span title="type">string</span>)</span></div><div class='sectionItem classMethod'><b class='icon' title='Sets attributes on element(s) specified by the current selector, or, if name is not specified, returns the value of the attribute of the element specified by the current selector.'><a href="../symbols/%24_.dom.html#.attr">attr</a></b><span class='signature'>(<span title="name">string</span>, <span title="value">string</span>)</span></div><div class='sectionItem classMethod'><b class='icon' title='Sets or retrieves the text content of the element specified by the current selector.'><a href="../symbols/%24_.dom.html#.text">text</a></b><span class='signature'>(<span title="value">string</span>)</span></div><div class='sectionItem classMethod'><b class='icon' title='Sets or retrieves a css property of the element specified by the current selector.'><a href="../symbols/%24_.dom.html#.css">css</a></b><span class='signature'>(<span title="property">string</span>, <span title="value">string</span>)</span></div><div class='sectionItem classMethod'><b class='icon' title='Adds to the innerHTML of the current element, after the last child.'><a href="../symbols/%24_.dom.html#.append">append</a></b><span class='signature'>(<span title="htm">string</span>)</span></div><div class='sectionItem classMethod'><b class='icon' title='Adds to the innerHTML of the selected element, before the current children'><a href="../symbols/%24_.dom.html#.prepend">prepend</a></b><span class='signature'>(<span title="htm">string</span>)</span></div><div class='sectionItem classMethod'><b class='icon' title='Sets or gets the innerHTML propery of the element(s) passed'><a href="../symbols/%24_.dom.html#.html">html</a></b><span class='signature'>(<span title="htm">string</span>)</span></div></div></div><div class="section"><div title='Event Listener module' class='itemName namespace'><div class='method-toggler'> </div><span class='icon'><a href="../symbols/%24_.event.html">$_.event</a></span></div><div class='sectionItems'><div class='sectionItem classMethod'><b class='icon' title='Create a custom event'><a href="../symbols/%24_.event.html#.create">create</a></b><span class='signature'>(<span title="name">string</span>, <span title="data">object</span>)</span></div><div class='sectionItem classMethod'><b class='icon' title='Adds an event that returns a callback when triggered on the selected event and selector'><a href="../symbols/%24_.event.html#.add">add</a></b><span class='signature'>(<span title="event">string</span>, <span title="callback">function</span>)</span></div><div class='sectionItem classMethod'><b class='icon' title='Removes an event bound the the specified selector, event type, and callback'><a href="../symbols/%24_.event.html#.remove">remove</a></b><span class='signature'>(<span title="event">string</span>, <span title="callback">string</span>)</span></div><div class='sectionItem classMethod'><b class='icon' title='Binds a persistent event to the document'><a href="../symbols/%24_.event.html#.live">live</a></b><span class='signature'>(<span title="target">string</span>, <span title="event">string</span>, <span title="callback">function</span>)</span></div><div class='sectionItem classMethod'><b class='icon' title='Binds an event to a parent object'><a href="../symbols/%24_.event.html#.delegate">delegate</a></b><span class='signature'>(<span title="target">string</span>, <span title="event_type">string</span>, <span title="callback">function</span>)</span></div><div class='sectionItem classMethod'><b class='icon' title='Trigger an event to fire'><a href="../symbols/%24_.event.html#.trigger">trigger</a></b><span class='signature'>(<span title="target">string</span>, <span title="event">object</span>)</span></div></div></div><div class="section"><div title='Wrapper for localstorage / sessionstorage data serialization.' class='itemName namespace'><div class='method-toggler'> </div><span class='icon'><a href="../symbols/%24_.store.html">$_.store</a></span></div><div class='sectionItems'><div class='sectionItem classMethod'><b class='icon' title='Retrieves and deserializes a value from localstorage, based on the specified key'><a href="../symbols/%24_.store.html#.get">get</a></b><span class='signature'>(<span title="key">string</span>, <span title="session">bool</span>)</span></div><div class='sectionItem classMethod'><b class='icon' title='Puts a value into localstorage at the specified key, and JSON-encodes the value if not a string'><a href="../symbols/%24_.store.html#.set">set</a></b><span class='signature'>(<span title="key">string</span>, <span title="value">mixed</span>, <span title="session">bool</span>)</span></div><div class='sectionItem classMethod'><b class='icon' title='Removes the specified item from storage'><a href="../symbols/%24_.store.html#.remove">remove</a></b><span class='signature'>(<span title="key">string</span>, <span title="session">bool</span>)</span></div><div class='sectionItem classMethod'><b class='icon' title='Returns an object of all the raw values in storage'><a href="../symbols/%24_.store.html#.getAll">getAll</a></b><span class='signature'>(<span title="session">bool</span>)</span></div><div class='sectionItem classMethod'><b class='icon' title='Removes all values from the same domain storage'><a href="../symbols/%24_.store.html#.clear">clear</a></b><span class='signature'>(<span title="session">bool</span>)</span></div></div></div><div class="section"><div title='Global namespace.' class='itemName namespace'><div class='method-toggler'> </div><span class='icon'><i><a href="../symbols/_global_.html">_global_</a></i></span></div><div class='sectionItems'></div></div></div></div></div></div><div id="index-toggler" class="fixed">«</div><div class="header">Kis JS Docs</div><div id="content"><h1 class="classTitle"> Module $_ </h1><div class="full-description"><p></p></div><p class="fileName itemName"><i>Defined in: </i><span class="icon"><a href="../symbols/src/kis-js_src_core.js.html">core.js</a>.</span></p><div class="summary section"><div class="sectionTitle">Field Summary</div><div class="sectionItems"><div class="sectionItem classProperty"><b class="icon" title="DOM Dom manipulation module"><a href="../symbols/%24_.dom.html">dom</a></b><span class='description'>DOM Dom manipulation module</span></div><div class="sectionItem classProperty"><b class="icon" title="Wrapper for localstorage / sessionstorage data serialization."><a href="../symbols/%24_.store.html">store</a></b><span class='description'>Wrapper for localstorage / sessionstorage data serialization.</span></div><div class="sectionItem classProperty"><b class="icon" title="Event Listener module"><a href="../symbols/%24_.event.html">event</a></b><span class='description'>Event Listener module</span></div></div></div><div class="summary section"><div class="sectionTitle">Method Summary</div><div class="sectionItems"><div class="sectionItem classMethod"><b class="icon" title="Simple DOM selector function"><a href="../symbols/%24_.html#.$">$</a></b><span class='signature'>(<span title="selector">string</span>, <span title="context">object</span>)</span><span class='description'>Simple DOM selector function</span></div><div class="sectionItem classMethod"><b class="icon" title="Adds the property `obj` to the $_ object, calling it `name`"><a href="../symbols/%24_.html#.ext">ext</a></b><span class='signature'>(<span title="name">string</span>, <span title="obj">object</span>)</span><span class='description'>Adds the property `obj` to the $_ object, calling it `name`</span></div><div class="sectionItem classMethod"><b class="icon" title="Iterates over a $_ object, applying a callback to each item"><a href="../symbols/%24_.html#.each">each</a></b><span class='signature'>(<span title="callback">function</span>)</span><span class='description'>Iterates over a $_ object, applying a callback to each item</span></div><div class="sectionItem classMethod"><b class="icon" title="Retrieves the type of the passed variable"><a href="../symbols/%24_.html#.type">type</a></b><span class='signature'>(<span title="obj">mixed</span>)</span><span class='description'>Retrieves the type of the passed variable</span></div><div class="sectionItem classMethod"><b class="icon" title="Sends a GET type ajax request"><a href="../symbols/%24_.html#.get">get</a></b><span class='signature'>(<span title="url">string</span>, <span title="data">object</span>, <span title="success_callback">function</span>, <span title="error_callback">function</span>)</span><span class='description'>Sends a GET type ajax request</span></div><div class="sectionItem classMethod"><b class="icon" title="Sends a POST type ajax request"><a href="../symbols/%24_.html#.post">post</a></b><span class='signature'>(<span title="url">string</span>, <span title="data">object</span>, <span title="success_callback">function</span>, <span title="error_callback">function</span>)</span><span class='description'>Sends a POST type ajax request</span></div></div></div><div class="section details"><div class="sectionTitle"> Field Detail </div><div class="sectionItems"><div class='sectionItem classProperty'><a name=".dom"></a><div class="itemTitle signature icon"> $_.<b>dom</b></div><div class="full-description"> DOM Dom manipulation module <p class="fileName itemName"><i>Defined in: </i><span class="icon"><a href="../symbols/src/kis-js_src_modules_DOM.js.html">DOM.js</a>.</span></p></div><pre class="prettyprint"></pre></div><div class='sectionItem classProperty'><a name=".store"></a><div class="itemTitle signature icon"> $_.<b>store</b></div><div class="full-description"> Wrapper for localstorage / sessionstorage data serialization. Each method has a boolean parameter, that when set as true switches the method to use sessionStorage rather than the default localStorage. <p class="fileName itemName"><i>Defined in: </i><span class="icon"><a href="../symbols/src/kis-js_src_modules_store.js.html">store.js</a>.</span></p></div><pre class="prettyprint"></pre></div><div class='sectionItem classProperty'><a name=".event"></a><div class="itemTitle signature icon"> $_.<b>event</b></div><div class="full-description"> Event Listener module <p class="fileName itemName"><i>Defined in: </i><span class="icon"><a href="../symbols/src/kis-js_src_modules_event.js.html">event.js</a>.</span></p></div><pre class="prettyprint"></pre></div></div></div><div class="details section"><div class="sectionTitle"> Method Detail </div><div class="sectionItems"><div class='sectionItem classMethod '><a name=".$"></a><div class="itemTitle icon"> $_.$<span class="signature">(<span title="selector">string</span>, <span title="context">object</span>)</span><span class="light" title="returns object">: object</span></div><div class="full-description"> Simple DOM selector function <pre class="prettyprint"></pre></div><div class="heading">Parameters:</div><table class="methodItem"><tbody><tr><td class="methodItemType"></td><td class="methodItemName"><b>string</b></td><td class="methodItemDesc"> selector </td></tr><tr><td class="methodItemType"></td><td class="methodItemName"><b>object</b></td><td class="methodItemDesc"> context </td></tr></tbody></table><div class="heading">Returns:</div><table class="methodItem"><tbody><tr><td class="methodItemType"></td><td class="methodItemDesc"> object </td></tr></tbody></table></div><div class='sectionItem classMethod '><a name=".ext"></a><div class="itemTitle icon"> $_.ext<span class="signature">(<span title="name">string</span>, <span title="obj">object</span>)</span></div><div class="full-description"> Adds the property `obj` to the $_ object, calling it `name` <pre class="prettyprint"></pre></div><div class="heading">Parameters:</div><table class="methodItem"><tbody><tr><td class="methodItemType"></td><td class="methodItemName"><b>string</b></td><td class="methodItemDesc"> name </td></tr><tr><td class="methodItemType"></td><td class="methodItemName"><b>object</b></td><td class="methodItemDesc"> obj </td></tr></tbody></table></div><div class='sectionItem classMethod '><a name=".each"></a><div class="itemTitle icon"> $_.each<span class="signature">(<span title="callback">function</span>)</span></div><div class="full-description"> Iterates over a $_ object, applying a callback to each item <pre class="prettyprint"></pre></div><div class="heading">Parameters:</div><table class="methodItem"><tbody><tr><td class="methodItemType"></td><td class="methodItemName"><b>function</b></td><td class="methodItemDesc"> callback </td></tr></tbody></table></div><div class='sectionItem classMethod '><a name=".type"></a><div class="itemTitle icon"> $_.type<span class="signature">(<span title="obj">mixed</span>)</span><span class="light" title="returns string">: string</span></div><div class="full-description"> Retrieves the type of the passed variable <pre class="prettyprint"></pre></div><div class="heading">Parameters:</div><table class="methodItem"><tbody><tr><td class="methodItemType"></td><td class="methodItemName"><b>mixed</b></td><td class="methodItemDesc"> obj </td></tr></tbody></table><div class="heading">Returns:</div><table class="methodItem"><tbody><tr><td class="methodItemType"></td><td class="methodItemDesc"> string </td></tr></tbody></table></div><div class='sectionItem classMethod '><a name=".get"></a><div class="itemTitle icon"> $_.get<span class="signature">(<span title="url">string</span>, <span title="data">object</span>, <span title="success_callback">function</span>, <span title="error_callback">function</span>)</span></div><div class="full-description"> Sends a GET type ajax request <p class="fileName itemName"><i>Defined in: </i><span class="icon"><a href="../symbols/src/kis-js_src_modules_ajax.js.html">ajax.js</a>.</span></p><pre class="prettyprint"></pre></div><div class="heading">Parameters:</div><table class="methodItem"><tbody><tr><td class="methodItemType"></td><td class="methodItemName"><b>string</b></td><td class="methodItemDesc"> url </td></tr><tr><td class="methodItemType"></td><td class="methodItemName"><b>object</b></td><td class="methodItemDesc"> data </td></tr><tr><td class="methodItemType"></td><td class="methodItemName"><b>function</b></td><td class="methodItemDesc"> success_callback </td></tr><tr><td class="methodItemType"></td><td class="methodItemName"><b>function</b></td><td class="methodItemDesc"> error_callback </td></tr></tbody></table></div><div class='sectionItem classMethod '><a name=".post"></a><div class="itemTitle icon"> $_.post<span class="signature">(<span title="url">string</span>, <span title="data">object</span>, <span title="success_callback">function</span>, <span title="error_callback">function</span>)</span></div><div class="full-description"> Sends a POST type ajax request <p class="fileName itemName"><i>Defined in: </i><span class="icon"><a href="../symbols/src/kis-js_src_modules_ajax.js.html">ajax.js</a>.</span></p><pre class="prettyprint"></pre></div><div class="heading">Parameters:</div><table class="methodItem"><tbody><tr><td class="methodItemType"></td><td class="methodItemName"><b>string</b></td><td class="methodItemDesc"> url </td></tr><tr><td class="methodItemType"></td><td class="methodItemName"><b>object</b></td><td class="methodItemDesc"> data </td></tr><tr><td class="methodItemType"></td><td class="methodItemName"><b>function</b></td><td class="methodItemDesc"> success_callback </td></tr><tr><td class="methodItemType"></td><td class="methodItemName"><b>function</b></td><td class="methodItemDesc"> error_callback </td></tr></tbody></table></div></div></div></div></div></div></body></html> |