jsf.js_next_gen 1.0.0-beta-2 → 1.0.0-beta-5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/docs/.nojekyll +1 -0
- package/dist/docs/assets/highlight.css +22 -0
- package/dist/docs/assets/main.js +54 -0
- package/dist/docs/assets/search.js +1 -0
- package/dist/docs/assets/style.css +1225 -0
- package/dist/docs/assets/widgets.png +0 -0
- package/dist/docs/assets/widgets@2x.png +0 -0
- package/dist/docs/functions/jsf.ajax.addOnError.html +84 -0
- package/dist/docs/functions/jsf.ajax.addOnEvent.html +74 -0
- package/dist/docs/functions/jsf.ajax.request.html +74 -0
- package/dist/docs/functions/jsf.ajax.response.html +69 -0
- package/dist/docs/functions/jsf.getClientWindow.html +65 -0
- package/dist/docs/functions/jsf.getProjectStage.html +69 -0
- package/dist/docs/functions/jsf.getViewState.html +68 -0
- package/dist/docs/functions/jsf.push.close.html +63 -0
- package/dist/docs/functions/jsf.push.init.html +81 -0
- package/dist/docs/functions/jsf.push.open.html +63 -0
- package/dist/docs/functions/jsf.util.chain.html +69 -0
- package/dist/docs/functions/myfaces.ab.html +78 -0
- package/dist/docs/index.html +173 -0
- package/dist/docs/modules/jsf.ajax.html +59 -0
- package/dist/docs/modules/jsf.html +71 -0
- package/dist/docs/modules/jsf.push.html +57 -0
- package/dist/docs/modules/jsf.util.html +53 -0
- package/dist/docs/modules/myfaces.html +52 -0
- package/dist/docs/modules.html +48 -0
- package/dist/docs/variables/jsf.implversion.html +57 -0
- package/dist/docs/variables/jsf.separatorchar.html +54 -0
- package/dist/docs/variables/jsf.specversion.html +52 -0
- package/dist/window/jsf-development.js +1 -1
- package/dist/window/jsf-development.js.map +1 -1
- package/dist/window/jsf.js +1 -1
- package/dist/window/jsf.js.br +0 -0
- package/dist/window/jsf.js.gz +0 -0
- package/dist/window/jsf.js.map +1 -1
- package/dist/window/tmp +0 -0
- package/package.json +5 -3
- package/src/main/typescript/tsconfig-typedoc.json +20 -0
- package/src/test/resources/jsf-development.js +450 -3672
- package/src/test/resources/jsf.js +1 -1
- package/src/test/resources/jsf.js.br +0 -0
- package/src/test/resources/jsf.js.gz +0 -0
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
<!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>getViewState | jsf.js_next_gen</title><meta name="description" content="Documentation for jsf.js_next_gen"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script async src="../assets/search.js" id="search-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os"</script><header class="tsd-page-toolbar">
|
|
2
|
+
<div class="tsd-toolbar-contents container">
|
|
3
|
+
<div class="table-cell" id="tsd-search" data-base="..">
|
|
4
|
+
<div class="field"><label for="tsd-search-field" class="tsd-widget search no-caption"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><path d="M15.7824 13.833L12.6666 10.7177C12.5259 10.5771 12.3353 10.499 12.1353 10.499H11.6259C12.4884 9.39596 13.001 8.00859 13.001 6.49937C13.001 2.90909 10.0914 0 6.50048 0C2.90959 0 0 2.90909 0 6.49937C0 10.0896 2.90959 12.9987 6.50048 12.9987C8.00996 12.9987 9.39756 12.4863 10.5008 11.6239V12.1332C10.5008 12.3332 10.5789 12.5238 10.7195 12.6644L13.8354 15.7797C14.1292 16.0734 14.6042 16.0734 14.8948 15.7797L15.7793 14.8954C16.0731 14.6017 16.0731 14.1267 15.7824 13.833ZM6.50048 10.499C4.29094 10.499 2.50018 8.71165 2.50018 6.49937C2.50018 4.29021 4.28781 2.49976 6.50048 2.49976C8.71001 2.49976 10.5008 4.28708 10.5008 6.49937C10.5008 8.70852 8.71314 10.499 6.50048 10.499Z" fill="var(--color-text)"></path></svg></label><input type="text" id="tsd-search-field" aria-label="Search"/></div>
|
|
5
|
+
<ul class="results">
|
|
6
|
+
<li class="state loading">Preparing search index...</li>
|
|
7
|
+
<li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">jsf.js_next_gen</a></div>
|
|
8
|
+
<div class="table-cell" id="tsd-widgets"><a href="#" class="tsd-widget menu no-caption" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><rect x="1" y="3" width="14" height="2" fill="var(--color-text)"></rect><rect x="1" y="7" width="14" height="2" fill="var(--color-text)"></rect><rect x="1" y="11" width="14" height="2" fill="var(--color-text)"></rect></svg></a></div></div></header>
|
|
9
|
+
<div class="container container-main">
|
|
10
|
+
<div class="col-8 col-content">
|
|
11
|
+
<div class="tsd-page-title">
|
|
12
|
+
<ul class="tsd-breadcrumb">
|
|
13
|
+
<li><a href="../modules.html">jsf.js_next_gen</a></li>
|
|
14
|
+
<li><a href="../modules/jsf.html">jsf</a></li>
|
|
15
|
+
<li><a href="jsf.getViewState.html">getViewState</a></li></ul>
|
|
16
|
+
<h1>Function getViewState</h1></div>
|
|
17
|
+
<section class="tsd-panel">
|
|
18
|
+
<ul class="tsd-signatures tsd-kind-function tsd-parent-kind-namespace">
|
|
19
|
+
<li class="tsd-signature tsd-anchor-link" id="getViewState">get<wbr/>View<wbr/>State<span class="tsd-signature-symbol">(</span>formElement<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">Element</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><a href="#getViewState" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none" id="icon-anchor-a"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5" id="icon-anchor-b"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5" id="icon-anchor-c"></path></svg></a></li>
|
|
20
|
+
<li class="tsd-description">
|
|
21
|
+
<div class="tsd-comment tsd-typography"><p>collect and encode data for a given form element (must be of type form)
|
|
22
|
+
find the javax.faces.ViewState element and encode its value as well!
|
|
23
|
+
return a concatenated string of the encoded values!</p>
|
|
24
|
+
|
|
25
|
+
<h3>Throws</h3><p>an exception in case of the given element not being of type form!
|
|
26
|
+
<a href="https://issues.apache.org/jira/browse/MYFACES-2110">https://issues.apache.org/jira/browse/MYFACES-2110</a></p>
|
|
27
|
+
</div>
|
|
28
|
+
<div class="tsd-parameters">
|
|
29
|
+
<h4 class="tsd-parameters-title">Parameters</h4>
|
|
30
|
+
<ul class="tsd-parameter-list">
|
|
31
|
+
<li>
|
|
32
|
+
<h5>formElement: <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">Element</span></h5></li></ul></div>
|
|
33
|
+
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span></h4></li></ul></section></div>
|
|
34
|
+
<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
|
|
35
|
+
<div class="tsd-navigation settings">
|
|
36
|
+
<details class="tsd-index-accordion"><summary class="tsd-accordion-summary">
|
|
37
|
+
<h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><path d="M4.93896 8.531L12 15.591L19.061 8.531L16.939 6.409L12 11.349L7.06098 6.409L4.93896 8.531Z" fill="var(--color-text)"></path></svg> Settings</h3></summary>
|
|
38
|
+
<div class="tsd-accordion-details">
|
|
39
|
+
<div class="tsd-filter-visibility">
|
|
40
|
+
<h4 class="uppercase">Member Visibility</h4><form>
|
|
41
|
+
<ul id="tsd-filter-options">
|
|
42
|
+
<li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li></ul></form></div>
|
|
43
|
+
<div class="tsd-theme-toggle">
|
|
44
|
+
<h4 class="uppercase">Theme</h4><select id="theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div>
|
|
45
|
+
<nav class="tsd-navigation primary">
|
|
46
|
+
<details class="tsd-index-accordion" open><summary class="tsd-accordion-summary">
|
|
47
|
+
<h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><path d="M4.93896 8.531L12 15.591L19.061 8.531L16.939 6.409L12 11.349L7.06098 6.409L4.93896 8.531Z" fill="var(--color-text)"></path></svg> Modules</h3></summary>
|
|
48
|
+
<div class="tsd-accordion-details">
|
|
49
|
+
<ul>
|
|
50
|
+
<li class="current"><a href="../modules.html">jsf.js_<wbr/>next_<wbr/>gen</a>
|
|
51
|
+
<ul>
|
|
52
|
+
<li class="current tsd-kind-namespace"><a href="../modules/jsf.html">jsf</a>
|
|
53
|
+
<ul>
|
|
54
|
+
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/jsf.ajax.html">ajax</a></li>
|
|
55
|
+
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/jsf.push.html">push</a></li>
|
|
56
|
+
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/jsf.util.html">util</a></li></ul></li>
|
|
57
|
+
<li class="tsd-kind-namespace"><a href="../modules/myfaces.html">myfaces</a></li></ul></li></ul></div></details></nav>
|
|
58
|
+
<nav class="tsd-navigation secondary menu-sticky">
|
|
59
|
+
<ul>
|
|
60
|
+
<li class="tsd-kind-variable tsd-parent-kind-namespace"><a href="../variables/jsf.implversion.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-variable)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6" id="icon-32-path"></rect><path d="M11.106 16L8.85 7.24H9.966L11.454 13.192C11.558 13.608 11.646 13.996 11.718 14.356C11.79 14.708 11.842 14.976 11.874 15.16C11.906 14.976 11.954 14.708 12.018 14.356C12.09 13.996 12.178 13.608 12.282 13.192L13.758 7.24H14.85L12.582 16H11.106Z" fill="var(--color-text)" id="icon-32-text"></path></svg>implversion</a></li>
|
|
61
|
+
<li class="tsd-kind-variable tsd-parent-kind-namespace"><a href="../variables/jsf.separatorchar.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-32-path"></use><use href="#icon-32-text"></use></svg>separatorchar</a></li>
|
|
62
|
+
<li class="tsd-kind-variable tsd-parent-kind-namespace"><a href="../variables/jsf.specversion.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-32-path"></use><use href="#icon-32-text"></use></svg>specversion</a></li>
|
|
63
|
+
<li class="tsd-kind-function tsd-parent-kind-namespace"><a href="jsf.getClientWindow.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-function)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6" id="icon-64-path"></rect><path d="M9.39 16V7.24H14.55V8.224H10.446V11.128H14.238V12.112H10.47V16H9.39Z" fill="var(--color-text)" id="icon-64-text"></path></svg>get<wbr/>Client<wbr/>Window</a></li>
|
|
64
|
+
<li class="tsd-kind-function tsd-parent-kind-namespace"><a href="jsf.getProjectStage.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg>get<wbr/>Project<wbr/>Stage</a></li>
|
|
65
|
+
<li class="current tsd-kind-function tsd-parent-kind-namespace"><a href="jsf.getViewState.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg>get<wbr/>View<wbr/>State</a></li></ul></nav></div></div>
|
|
66
|
+
<div class="container tsd-generator">
|
|
67
|
+
<p>Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></div>
|
|
68
|
+
<div class="overlay"></div><script src="../assets/main.js"></script></body></html>
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
<!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>close | jsf.js_next_gen</title><meta name="description" content="Documentation for jsf.js_next_gen"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script async src="../assets/search.js" id="search-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os"</script><header class="tsd-page-toolbar">
|
|
2
|
+
<div class="tsd-toolbar-contents container">
|
|
3
|
+
<div class="table-cell" id="tsd-search" data-base="..">
|
|
4
|
+
<div class="field"><label for="tsd-search-field" class="tsd-widget search no-caption"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><path d="M15.7824 13.833L12.6666 10.7177C12.5259 10.5771 12.3353 10.499 12.1353 10.499H11.6259C12.4884 9.39596 13.001 8.00859 13.001 6.49937C13.001 2.90909 10.0914 0 6.50048 0C2.90959 0 0 2.90909 0 6.49937C0 10.0896 2.90959 12.9987 6.50048 12.9987C8.00996 12.9987 9.39756 12.4863 10.5008 11.6239V12.1332C10.5008 12.3332 10.5789 12.5238 10.7195 12.6644L13.8354 15.7797C14.1292 16.0734 14.6042 16.0734 14.8948 15.7797L15.7793 14.8954C16.0731 14.6017 16.0731 14.1267 15.7824 13.833ZM6.50048 10.499C4.29094 10.499 2.50018 8.71165 2.50018 6.49937C2.50018 4.29021 4.28781 2.49976 6.50048 2.49976C8.71001 2.49976 10.5008 4.28708 10.5008 6.49937C10.5008 8.70852 8.71314 10.499 6.50048 10.499Z" fill="var(--color-text)"></path></svg></label><input type="text" id="tsd-search-field" aria-label="Search"/></div>
|
|
5
|
+
<ul class="results">
|
|
6
|
+
<li class="state loading">Preparing search index...</li>
|
|
7
|
+
<li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">jsf.js_next_gen</a></div>
|
|
8
|
+
<div class="table-cell" id="tsd-widgets"><a href="#" class="tsd-widget menu no-caption" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><rect x="1" y="3" width="14" height="2" fill="var(--color-text)"></rect><rect x="1" y="7" width="14" height="2" fill="var(--color-text)"></rect><rect x="1" y="11" width="14" height="2" fill="var(--color-text)"></rect></svg></a></div></div></header>
|
|
9
|
+
<div class="container container-main">
|
|
10
|
+
<div class="col-8 col-content">
|
|
11
|
+
<div class="tsd-page-title">
|
|
12
|
+
<ul class="tsd-breadcrumb">
|
|
13
|
+
<li><a href="../modules.html">jsf.js_next_gen</a></li>
|
|
14
|
+
<li><a href="../modules/jsf.html">jsf</a></li>
|
|
15
|
+
<li><a href="../modules/jsf.push.html">push</a></li>
|
|
16
|
+
<li><a href="jsf.push.close.html">close</a></li></ul>
|
|
17
|
+
<h1>Function close</h1></div>
|
|
18
|
+
<section class="tsd-panel">
|
|
19
|
+
<ul class="tsd-signatures tsd-kind-function tsd-parent-kind-namespace">
|
|
20
|
+
<li class="tsd-signature tsd-anchor-link" id="close">close<span class="tsd-signature-symbol">(</span>socketClientId<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#close" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none" id="icon-anchor-a"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5" id="icon-anchor-b"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5" id="icon-anchor-c"></path></svg></a></li>
|
|
21
|
+
<li class="tsd-description">
|
|
22
|
+
<div class="tsd-comment tsd-typography"><p>Close the web socket on the given channel.</p>
|
|
23
|
+
|
|
24
|
+
<h3>Throws</h3><p>When channel is unknown.</p>
|
|
25
|
+
</div>
|
|
26
|
+
<div class="tsd-parameters">
|
|
27
|
+
<h4 class="tsd-parameters-title">Parameters</h4>
|
|
28
|
+
<ul class="tsd-parameter-list">
|
|
29
|
+
<li>
|
|
30
|
+
<h5>socketClientId: <span class="tsd-signature-type">string</span></h5></li></ul></div>
|
|
31
|
+
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4></li></ul></section></div>
|
|
32
|
+
<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
|
|
33
|
+
<div class="tsd-navigation settings">
|
|
34
|
+
<details class="tsd-index-accordion"><summary class="tsd-accordion-summary">
|
|
35
|
+
<h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><path d="M4.93896 8.531L12 15.591L19.061 8.531L16.939 6.409L12 11.349L7.06098 6.409L4.93896 8.531Z" fill="var(--color-text)"></path></svg> Settings</h3></summary>
|
|
36
|
+
<div class="tsd-accordion-details">
|
|
37
|
+
<div class="tsd-filter-visibility">
|
|
38
|
+
<h4 class="uppercase">Member Visibility</h4><form>
|
|
39
|
+
<ul id="tsd-filter-options">
|
|
40
|
+
<li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li></ul></form></div>
|
|
41
|
+
<div class="tsd-theme-toggle">
|
|
42
|
+
<h4 class="uppercase">Theme</h4><select id="theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div>
|
|
43
|
+
<nav class="tsd-navigation primary">
|
|
44
|
+
<details class="tsd-index-accordion" open><summary class="tsd-accordion-summary">
|
|
45
|
+
<h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><path d="M4.93896 8.531L12 15.591L19.061 8.531L16.939 6.409L12 11.349L7.06098 6.409L4.93896 8.531Z" fill="var(--color-text)"></path></svg> Modules</h3></summary>
|
|
46
|
+
<div class="tsd-accordion-details">
|
|
47
|
+
<ul>
|
|
48
|
+
<li class="current"><a href="../modules.html">jsf.js_<wbr/>next_<wbr/>gen</a>
|
|
49
|
+
<ul>
|
|
50
|
+
<li class="current tsd-kind-namespace"><a href="../modules/jsf.html">jsf</a>
|
|
51
|
+
<ul>
|
|
52
|
+
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/jsf.ajax.html">ajax</a></li>
|
|
53
|
+
<li class="current tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/jsf.push.html">push</a></li>
|
|
54
|
+
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/jsf.util.html">util</a></li></ul></li>
|
|
55
|
+
<li class="tsd-kind-namespace"><a href="../modules/myfaces.html">myfaces</a></li></ul></li></ul></div></details></nav>
|
|
56
|
+
<nav class="tsd-navigation secondary menu-sticky">
|
|
57
|
+
<ul>
|
|
58
|
+
<li class="current tsd-kind-function tsd-parent-kind-namespace"><a href="jsf.push.close.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-function)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6" id="icon-64-path"></rect><path d="M9.39 16V7.24H14.55V8.224H10.446V11.128H14.238V12.112H10.47V16H9.39Z" fill="var(--color-text)" id="icon-64-text"></path></svg>close</a></li>
|
|
59
|
+
<li class="tsd-kind-function tsd-parent-kind-namespace"><a href="jsf.push.init.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg>init</a></li>
|
|
60
|
+
<li class="tsd-kind-function tsd-parent-kind-namespace"><a href="jsf.push.open.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg>open</a></li></ul></nav></div></div>
|
|
61
|
+
<div class="container tsd-generator">
|
|
62
|
+
<p>Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></div>
|
|
63
|
+
<div class="overlay"></div><script src="../assets/main.js"></script></body></html>
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
<!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>init | jsf.js_next_gen</title><meta name="description" content="Documentation for jsf.js_next_gen"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script async src="../assets/search.js" id="search-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os"</script><header class="tsd-page-toolbar">
|
|
2
|
+
<div class="tsd-toolbar-contents container">
|
|
3
|
+
<div class="table-cell" id="tsd-search" data-base="..">
|
|
4
|
+
<div class="field"><label for="tsd-search-field" class="tsd-widget search no-caption"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><path d="M15.7824 13.833L12.6666 10.7177C12.5259 10.5771 12.3353 10.499 12.1353 10.499H11.6259C12.4884 9.39596 13.001 8.00859 13.001 6.49937C13.001 2.90909 10.0914 0 6.50048 0C2.90959 0 0 2.90909 0 6.49937C0 10.0896 2.90959 12.9987 6.50048 12.9987C8.00996 12.9987 9.39756 12.4863 10.5008 11.6239V12.1332C10.5008 12.3332 10.5789 12.5238 10.7195 12.6644L13.8354 15.7797C14.1292 16.0734 14.6042 16.0734 14.8948 15.7797L15.7793 14.8954C16.0731 14.6017 16.0731 14.1267 15.7824 13.833ZM6.50048 10.499C4.29094 10.499 2.50018 8.71165 2.50018 6.49937C2.50018 4.29021 4.28781 2.49976 6.50048 2.49976C8.71001 2.49976 10.5008 4.28708 10.5008 6.49937C10.5008 8.70852 8.71314 10.499 6.50048 10.499Z" fill="var(--color-text)"></path></svg></label><input type="text" id="tsd-search-field" aria-label="Search"/></div>
|
|
5
|
+
<ul class="results">
|
|
6
|
+
<li class="state loading">Preparing search index...</li>
|
|
7
|
+
<li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">jsf.js_next_gen</a></div>
|
|
8
|
+
<div class="table-cell" id="tsd-widgets"><a href="#" class="tsd-widget menu no-caption" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><rect x="1" y="3" width="14" height="2" fill="var(--color-text)"></rect><rect x="1" y="7" width="14" height="2" fill="var(--color-text)"></rect><rect x="1" y="11" width="14" height="2" fill="var(--color-text)"></rect></svg></a></div></div></header>
|
|
9
|
+
<div class="container container-main">
|
|
10
|
+
<div class="col-8 col-content">
|
|
11
|
+
<div class="tsd-page-title">
|
|
12
|
+
<ul class="tsd-breadcrumb">
|
|
13
|
+
<li><a href="../modules.html">jsf.js_next_gen</a></li>
|
|
14
|
+
<li><a href="../modules/jsf.html">jsf</a></li>
|
|
15
|
+
<li><a href="../modules/jsf.push.html">push</a></li>
|
|
16
|
+
<li><a href="jsf.push.init.html">init</a></li></ul>
|
|
17
|
+
<h1>Function init</h1></div>
|
|
18
|
+
<section class="tsd-panel">
|
|
19
|
+
<ul class="tsd-signatures tsd-kind-function tsd-parent-kind-namespace">
|
|
20
|
+
<li class="tsd-signature tsd-anchor-link" id="init">init<span class="tsd-signature-symbol">(</span>socketClientId<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span>, uri<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span>, channel<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span>, onopen<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Function</span>, onmessage<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Function</span>, onclose<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Function</span>, behaviorScripts<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span>, autoconnect<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#init" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none" id="icon-anchor-a"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5" id="icon-anchor-b"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5" id="icon-anchor-c"></path></svg></a></li>
|
|
21
|
+
<li class="tsd-description">
|
|
22
|
+
<div class="tsd-parameters">
|
|
23
|
+
<h4 class="tsd-parameters-title">Parameters</h4>
|
|
24
|
+
<ul class="tsd-parameter-list">
|
|
25
|
+
<li>
|
|
26
|
+
<h5>socketClientId: <span class="tsd-signature-type">string</span></h5></li>
|
|
27
|
+
<li>
|
|
28
|
+
<h5>uri: <span class="tsd-signature-type">string</span></h5></li>
|
|
29
|
+
<li>
|
|
30
|
+
<h5>channel: <span class="tsd-signature-type">string</span></h5></li>
|
|
31
|
+
<li>
|
|
32
|
+
<h5>onopen: <span class="tsd-signature-type">Function</span></h5>
|
|
33
|
+
<div class="tsd-comment tsd-typography"><p>The function to be invoked when the web socket is opened.</p>
|
|
34
|
+
</div></li>
|
|
35
|
+
<li>
|
|
36
|
+
<h5>onmessage: <span class="tsd-signature-type">Function</span></h5>
|
|
37
|
+
<div class="tsd-comment tsd-typography"><p>The function to be invoked when a message is received.</p>
|
|
38
|
+
</div></li>
|
|
39
|
+
<li>
|
|
40
|
+
<h5>onclose: <span class="tsd-signature-type">Function</span></h5>
|
|
41
|
+
<div class="tsd-comment tsd-typography"><p>The function to be invoked when the web socket is closed.</p>
|
|
42
|
+
</div></li>
|
|
43
|
+
<li>
|
|
44
|
+
<h5>behaviorScripts: <span class="tsd-signature-type">any</span></h5></li>
|
|
45
|
+
<li>
|
|
46
|
+
<h5>autoconnect: <span class="tsd-signature-type">boolean</span></h5>
|
|
47
|
+
<div class="tsd-comment tsd-typography"><p>Whether or not to immediately open the socket. Defaults to <code>false</code>.</p>
|
|
48
|
+
</div></li></ul></div>
|
|
49
|
+
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4></li></ul></section></div>
|
|
50
|
+
<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
|
|
51
|
+
<div class="tsd-navigation settings">
|
|
52
|
+
<details class="tsd-index-accordion"><summary class="tsd-accordion-summary">
|
|
53
|
+
<h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><path d="M4.93896 8.531L12 15.591L19.061 8.531L16.939 6.409L12 11.349L7.06098 6.409L4.93896 8.531Z" fill="var(--color-text)"></path></svg> Settings</h3></summary>
|
|
54
|
+
<div class="tsd-accordion-details">
|
|
55
|
+
<div class="tsd-filter-visibility">
|
|
56
|
+
<h4 class="uppercase">Member Visibility</h4><form>
|
|
57
|
+
<ul id="tsd-filter-options">
|
|
58
|
+
<li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li></ul></form></div>
|
|
59
|
+
<div class="tsd-theme-toggle">
|
|
60
|
+
<h4 class="uppercase">Theme</h4><select id="theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div>
|
|
61
|
+
<nav class="tsd-navigation primary">
|
|
62
|
+
<details class="tsd-index-accordion" open><summary class="tsd-accordion-summary">
|
|
63
|
+
<h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><path d="M4.93896 8.531L12 15.591L19.061 8.531L16.939 6.409L12 11.349L7.06098 6.409L4.93896 8.531Z" fill="var(--color-text)"></path></svg> Modules</h3></summary>
|
|
64
|
+
<div class="tsd-accordion-details">
|
|
65
|
+
<ul>
|
|
66
|
+
<li class="current"><a href="../modules.html">jsf.js_<wbr/>next_<wbr/>gen</a>
|
|
67
|
+
<ul>
|
|
68
|
+
<li class="current tsd-kind-namespace"><a href="../modules/jsf.html">jsf</a>
|
|
69
|
+
<ul>
|
|
70
|
+
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/jsf.ajax.html">ajax</a></li>
|
|
71
|
+
<li class="current tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/jsf.push.html">push</a></li>
|
|
72
|
+
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/jsf.util.html">util</a></li></ul></li>
|
|
73
|
+
<li class="tsd-kind-namespace"><a href="../modules/myfaces.html">myfaces</a></li></ul></li></ul></div></details></nav>
|
|
74
|
+
<nav class="tsd-navigation secondary menu-sticky">
|
|
75
|
+
<ul>
|
|
76
|
+
<li class="tsd-kind-function tsd-parent-kind-namespace"><a href="jsf.push.close.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-function)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6" id="icon-64-path"></rect><path d="M9.39 16V7.24H14.55V8.224H10.446V11.128H14.238V12.112H10.47V16H9.39Z" fill="var(--color-text)" id="icon-64-text"></path></svg>close</a></li>
|
|
77
|
+
<li class="current tsd-kind-function tsd-parent-kind-namespace"><a href="jsf.push.init.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg>init</a></li>
|
|
78
|
+
<li class="tsd-kind-function tsd-parent-kind-namespace"><a href="jsf.push.open.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg>open</a></li></ul></nav></div></div>
|
|
79
|
+
<div class="container tsd-generator">
|
|
80
|
+
<p>Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></div>
|
|
81
|
+
<div class="overlay"></div><script src="../assets/main.js"></script></body></html>
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
<!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>open | jsf.js_next_gen</title><meta name="description" content="Documentation for jsf.js_next_gen"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script async src="../assets/search.js" id="search-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os"</script><header class="tsd-page-toolbar">
|
|
2
|
+
<div class="tsd-toolbar-contents container">
|
|
3
|
+
<div class="table-cell" id="tsd-search" data-base="..">
|
|
4
|
+
<div class="field"><label for="tsd-search-field" class="tsd-widget search no-caption"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><path d="M15.7824 13.833L12.6666 10.7177C12.5259 10.5771 12.3353 10.499 12.1353 10.499H11.6259C12.4884 9.39596 13.001 8.00859 13.001 6.49937C13.001 2.90909 10.0914 0 6.50048 0C2.90959 0 0 2.90909 0 6.49937C0 10.0896 2.90959 12.9987 6.50048 12.9987C8.00996 12.9987 9.39756 12.4863 10.5008 11.6239V12.1332C10.5008 12.3332 10.5789 12.5238 10.7195 12.6644L13.8354 15.7797C14.1292 16.0734 14.6042 16.0734 14.8948 15.7797L15.7793 14.8954C16.0731 14.6017 16.0731 14.1267 15.7824 13.833ZM6.50048 10.499C4.29094 10.499 2.50018 8.71165 2.50018 6.49937C2.50018 4.29021 4.28781 2.49976 6.50048 2.49976C8.71001 2.49976 10.5008 4.28708 10.5008 6.49937C10.5008 8.70852 8.71314 10.499 6.50048 10.499Z" fill="var(--color-text)"></path></svg></label><input type="text" id="tsd-search-field" aria-label="Search"/></div>
|
|
5
|
+
<ul class="results">
|
|
6
|
+
<li class="state loading">Preparing search index...</li>
|
|
7
|
+
<li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">jsf.js_next_gen</a></div>
|
|
8
|
+
<div class="table-cell" id="tsd-widgets"><a href="#" class="tsd-widget menu no-caption" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><rect x="1" y="3" width="14" height="2" fill="var(--color-text)"></rect><rect x="1" y="7" width="14" height="2" fill="var(--color-text)"></rect><rect x="1" y="11" width="14" height="2" fill="var(--color-text)"></rect></svg></a></div></div></header>
|
|
9
|
+
<div class="container container-main">
|
|
10
|
+
<div class="col-8 col-content">
|
|
11
|
+
<div class="tsd-page-title">
|
|
12
|
+
<ul class="tsd-breadcrumb">
|
|
13
|
+
<li><a href="../modules.html">jsf.js_next_gen</a></li>
|
|
14
|
+
<li><a href="../modules/jsf.html">jsf</a></li>
|
|
15
|
+
<li><a href="../modules/jsf.push.html">push</a></li>
|
|
16
|
+
<li><a href="jsf.push.open.html">open</a></li></ul>
|
|
17
|
+
<h1>Function open</h1></div>
|
|
18
|
+
<section class="tsd-panel">
|
|
19
|
+
<ul class="tsd-signatures tsd-kind-function tsd-parent-kind-namespace">
|
|
20
|
+
<li class="tsd-signature tsd-anchor-link" id="open">open<span class="tsd-signature-symbol">(</span>socketClientId<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#open" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none" id="icon-anchor-a"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5" id="icon-anchor-b"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5" id="icon-anchor-c"></path></svg></a></li>
|
|
21
|
+
<li class="tsd-description">
|
|
22
|
+
<div class="tsd-comment tsd-typography"><p>Open the web socket on the given channel.</p>
|
|
23
|
+
|
|
24
|
+
<h3>Throws</h3><p>When channel is unknown.</p>
|
|
25
|
+
</div>
|
|
26
|
+
<div class="tsd-parameters">
|
|
27
|
+
<h4 class="tsd-parameters-title">Parameters</h4>
|
|
28
|
+
<ul class="tsd-parameter-list">
|
|
29
|
+
<li>
|
|
30
|
+
<h5>socketClientId: <span class="tsd-signature-type">string</span></h5></li></ul></div>
|
|
31
|
+
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4></li></ul></section></div>
|
|
32
|
+
<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
|
|
33
|
+
<div class="tsd-navigation settings">
|
|
34
|
+
<details class="tsd-index-accordion"><summary class="tsd-accordion-summary">
|
|
35
|
+
<h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><path d="M4.93896 8.531L12 15.591L19.061 8.531L16.939 6.409L12 11.349L7.06098 6.409L4.93896 8.531Z" fill="var(--color-text)"></path></svg> Settings</h3></summary>
|
|
36
|
+
<div class="tsd-accordion-details">
|
|
37
|
+
<div class="tsd-filter-visibility">
|
|
38
|
+
<h4 class="uppercase">Member Visibility</h4><form>
|
|
39
|
+
<ul id="tsd-filter-options">
|
|
40
|
+
<li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li></ul></form></div>
|
|
41
|
+
<div class="tsd-theme-toggle">
|
|
42
|
+
<h4 class="uppercase">Theme</h4><select id="theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div>
|
|
43
|
+
<nav class="tsd-navigation primary">
|
|
44
|
+
<details class="tsd-index-accordion" open><summary class="tsd-accordion-summary">
|
|
45
|
+
<h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><path d="M4.93896 8.531L12 15.591L19.061 8.531L16.939 6.409L12 11.349L7.06098 6.409L4.93896 8.531Z" fill="var(--color-text)"></path></svg> Modules</h3></summary>
|
|
46
|
+
<div class="tsd-accordion-details">
|
|
47
|
+
<ul>
|
|
48
|
+
<li class="current"><a href="../modules.html">jsf.js_<wbr/>next_<wbr/>gen</a>
|
|
49
|
+
<ul>
|
|
50
|
+
<li class="current tsd-kind-namespace"><a href="../modules/jsf.html">jsf</a>
|
|
51
|
+
<ul>
|
|
52
|
+
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/jsf.ajax.html">ajax</a></li>
|
|
53
|
+
<li class="current tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/jsf.push.html">push</a></li>
|
|
54
|
+
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/jsf.util.html">util</a></li></ul></li>
|
|
55
|
+
<li class="tsd-kind-namespace"><a href="../modules/myfaces.html">myfaces</a></li></ul></li></ul></div></details></nav>
|
|
56
|
+
<nav class="tsd-navigation secondary menu-sticky">
|
|
57
|
+
<ul>
|
|
58
|
+
<li class="tsd-kind-function tsd-parent-kind-namespace"><a href="jsf.push.close.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-function)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6" id="icon-64-path"></rect><path d="M9.39 16V7.24H14.55V8.224H10.446V11.128H14.238V12.112H10.47V16H9.39Z" fill="var(--color-text)" id="icon-64-text"></path></svg>close</a></li>
|
|
59
|
+
<li class="tsd-kind-function tsd-parent-kind-namespace"><a href="jsf.push.init.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg>init</a></li>
|
|
60
|
+
<li class="current tsd-kind-function tsd-parent-kind-namespace"><a href="jsf.push.open.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-64-path"></use><use href="#icon-64-text"></use></svg>open</a></li></ul></nav></div></div>
|
|
61
|
+
<div class="container tsd-generator">
|
|
62
|
+
<p>Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></div>
|
|
63
|
+
<div class="overlay"></div><script src="../assets/main.js"></script></body></html>
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
<!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>chain | jsf.js_next_gen</title><meta name="description" content="Documentation for jsf.js_next_gen"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script async src="../assets/search.js" id="search-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os"</script><header class="tsd-page-toolbar">
|
|
2
|
+
<div class="tsd-toolbar-contents container">
|
|
3
|
+
<div class="table-cell" id="tsd-search" data-base="..">
|
|
4
|
+
<div class="field"><label for="tsd-search-field" class="tsd-widget search no-caption"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><path d="M15.7824 13.833L12.6666 10.7177C12.5259 10.5771 12.3353 10.499 12.1353 10.499H11.6259C12.4884 9.39596 13.001 8.00859 13.001 6.49937C13.001 2.90909 10.0914 0 6.50048 0C2.90959 0 0 2.90909 0 6.49937C0 10.0896 2.90959 12.9987 6.50048 12.9987C8.00996 12.9987 9.39756 12.4863 10.5008 11.6239V12.1332C10.5008 12.3332 10.5789 12.5238 10.7195 12.6644L13.8354 15.7797C14.1292 16.0734 14.6042 16.0734 14.8948 15.7797L15.7793 14.8954C16.0731 14.6017 16.0731 14.1267 15.7824 13.833ZM6.50048 10.499C4.29094 10.499 2.50018 8.71165 2.50018 6.49937C2.50018 4.29021 4.28781 2.49976 6.50048 2.49976C8.71001 2.49976 10.5008 4.28708 10.5008 6.49937C10.5008 8.70852 8.71314 10.499 6.50048 10.499Z" fill="var(--color-text)"></path></svg></label><input type="text" id="tsd-search-field" aria-label="Search"/></div>
|
|
5
|
+
<ul class="results">
|
|
6
|
+
<li class="state loading">Preparing search index...</li>
|
|
7
|
+
<li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">jsf.js_next_gen</a></div>
|
|
8
|
+
<div class="table-cell" id="tsd-widgets"><a href="#" class="tsd-widget menu no-caption" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><rect x="1" y="3" width="14" height="2" fill="var(--color-text)"></rect><rect x="1" y="7" width="14" height="2" fill="var(--color-text)"></rect><rect x="1" y="11" width="14" height="2" fill="var(--color-text)"></rect></svg></a></div></div></header>
|
|
9
|
+
<div class="container container-main">
|
|
10
|
+
<div class="col-8 col-content">
|
|
11
|
+
<div class="tsd-page-title">
|
|
12
|
+
<ul class="tsd-breadcrumb">
|
|
13
|
+
<li><a href="../modules.html">jsf.js_next_gen</a></li>
|
|
14
|
+
<li><a href="../modules/jsf.html">jsf</a></li>
|
|
15
|
+
<li><a href="../modules/jsf.util.html">util</a></li>
|
|
16
|
+
<li><a href="jsf.util.chain.html">chain</a></li></ul>
|
|
17
|
+
<h1>Function chain</h1></div>
|
|
18
|
+
<section class="tsd-panel">
|
|
19
|
+
<ul class="tsd-signatures tsd-kind-function tsd-parent-kind-namespace">
|
|
20
|
+
<li class="tsd-signature tsd-anchor-link" id="chain">chain<span class="tsd-signature-symbol">(</span>source<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span>, event<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span>, <span class="tsd-signature-symbol">...</span>funcs<span class="tsd-signature-symbol">: </span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">Function</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span><a href="#chain" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none" id="icon-anchor-a"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5" id="icon-anchor-b"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5" id="icon-anchor-c"></path></svg></a></li>
|
|
21
|
+
<li class="tsd-description">
|
|
22
|
+
<div class="tsd-comment tsd-typography"><p>varargs function which executes a chain of code (functions or any other code)</p>
|
|
23
|
+
<p>if any of the code returns false, the execution
|
|
24
|
+
is terminated prematurely skipping the rest of the code!</p>
|
|
25
|
+
|
|
26
|
+
<h3>Returns</h3><p>true if the chain has succeeded false otherwise</p>
|
|
27
|
+
</div>
|
|
28
|
+
<div class="tsd-parameters">
|
|
29
|
+
<h4 class="tsd-parameters-title">Parameters</h4>
|
|
30
|
+
<ul class="tsd-parameter-list">
|
|
31
|
+
<li>
|
|
32
|
+
<h5>source: <span class="tsd-signature-type">any</span></h5></li>
|
|
33
|
+
<li>
|
|
34
|
+
<h5>event: <span class="tsd-signature-type">any</span></h5></li>
|
|
35
|
+
<li>
|
|
36
|
+
<h5><code class="tsd-tag ts-flagRest">Rest</code> <span class="tsd-signature-symbol">...</span>funcs: <span class="tsd-signature-symbol">(</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">Function</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">[]</span></h5>
|
|
37
|
+
<div class="tsd-comment tsd-typography"><p>... arbitrary array of functions or strings</p>
|
|
38
|
+
</div></li></ul></div>
|
|
39
|
+
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4></li></ul></section></div>
|
|
40
|
+
<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
|
|
41
|
+
<div class="tsd-navigation settings">
|
|
42
|
+
<details class="tsd-index-accordion"><summary class="tsd-accordion-summary">
|
|
43
|
+
<h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><path d="M4.93896 8.531L12 15.591L19.061 8.531L16.939 6.409L12 11.349L7.06098 6.409L4.93896 8.531Z" fill="var(--color-text)"></path></svg> Settings</h3></summary>
|
|
44
|
+
<div class="tsd-accordion-details">
|
|
45
|
+
<div class="tsd-filter-visibility">
|
|
46
|
+
<h4 class="uppercase">Member Visibility</h4><form>
|
|
47
|
+
<ul id="tsd-filter-options">
|
|
48
|
+
<li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li></ul></form></div>
|
|
49
|
+
<div class="tsd-theme-toggle">
|
|
50
|
+
<h4 class="uppercase">Theme</h4><select id="theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div>
|
|
51
|
+
<nav class="tsd-navigation primary">
|
|
52
|
+
<details class="tsd-index-accordion" open><summary class="tsd-accordion-summary">
|
|
53
|
+
<h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><path d="M4.93896 8.531L12 15.591L19.061 8.531L16.939 6.409L12 11.349L7.06098 6.409L4.93896 8.531Z" fill="var(--color-text)"></path></svg> Modules</h3></summary>
|
|
54
|
+
<div class="tsd-accordion-details">
|
|
55
|
+
<ul>
|
|
56
|
+
<li class="current"><a href="../modules.html">jsf.js_<wbr/>next_<wbr/>gen</a>
|
|
57
|
+
<ul>
|
|
58
|
+
<li class="current tsd-kind-namespace"><a href="../modules/jsf.html">jsf</a>
|
|
59
|
+
<ul>
|
|
60
|
+
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/jsf.ajax.html">ajax</a></li>
|
|
61
|
+
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/jsf.push.html">push</a></li>
|
|
62
|
+
<li class="current tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/jsf.util.html">util</a></li></ul></li>
|
|
63
|
+
<li class="tsd-kind-namespace"><a href="../modules/myfaces.html">myfaces</a></li></ul></li></ul></div></details></nav>
|
|
64
|
+
<nav class="tsd-navigation secondary menu-sticky">
|
|
65
|
+
<ul>
|
|
66
|
+
<li class="current tsd-kind-function tsd-parent-kind-namespace"><a href="jsf.util.chain.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-function)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6" id="icon-64-path"></rect><path d="M9.39 16V7.24H14.55V8.224H10.446V11.128H14.238V12.112H10.47V16H9.39Z" fill="var(--color-text)" id="icon-64-text"></path></svg>chain</a></li></ul></nav></div></div>
|
|
67
|
+
<div class="container tsd-generator">
|
|
68
|
+
<p>Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></div>
|
|
69
|
+
<div class="overlay"></div><script src="../assets/main.js"></script></body></html>
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
<!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>ab | jsf.js_next_gen</title><meta name="description" content="Documentation for jsf.js_next_gen"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script async src="../assets/search.js" id="search-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os"</script><header class="tsd-page-toolbar">
|
|
2
|
+
<div class="tsd-toolbar-contents container">
|
|
3
|
+
<div class="table-cell" id="tsd-search" data-base="..">
|
|
4
|
+
<div class="field"><label for="tsd-search-field" class="tsd-widget search no-caption"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><path d="M15.7824 13.833L12.6666 10.7177C12.5259 10.5771 12.3353 10.499 12.1353 10.499H11.6259C12.4884 9.39596 13.001 8.00859 13.001 6.49937C13.001 2.90909 10.0914 0 6.50048 0C2.90959 0 0 2.90909 0 6.49937C0 10.0896 2.90959 12.9987 6.50048 12.9987C8.00996 12.9987 9.39756 12.4863 10.5008 11.6239V12.1332C10.5008 12.3332 10.5789 12.5238 10.7195 12.6644L13.8354 15.7797C14.1292 16.0734 14.6042 16.0734 14.8948 15.7797L15.7793 14.8954C16.0731 14.6017 16.0731 14.1267 15.7824 13.833ZM6.50048 10.499C4.29094 10.499 2.50018 8.71165 2.50018 6.49937C2.50018 4.29021 4.28781 2.49976 6.50048 2.49976C8.71001 2.49976 10.5008 4.28708 10.5008 6.49937C10.5008 8.70852 8.71314 10.499 6.50048 10.499Z" fill="var(--color-text)"></path></svg></label><input type="text" id="tsd-search-field" aria-label="Search"/></div>
|
|
5
|
+
<ul class="results">
|
|
6
|
+
<li class="state loading">Preparing search index...</li>
|
|
7
|
+
<li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">jsf.js_next_gen</a></div>
|
|
8
|
+
<div class="table-cell" id="tsd-widgets"><a href="#" class="tsd-widget menu no-caption" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><rect x="1" y="3" width="14" height="2" fill="var(--color-text)"></rect><rect x="1" y="7" width="14" height="2" fill="var(--color-text)"></rect><rect x="1" y="11" width="14" height="2" fill="var(--color-text)"></rect></svg></a></div></div></header>
|
|
9
|
+
<div class="container container-main">
|
|
10
|
+
<div class="col-8 col-content">
|
|
11
|
+
<div class="tsd-page-title">
|
|
12
|
+
<ul class="tsd-breadcrumb">
|
|
13
|
+
<li><a href="../modules.html">jsf.js_next_gen</a></li>
|
|
14
|
+
<li><a href="../modules/myfaces.html">myfaces</a></li>
|
|
15
|
+
<li><a href="myfaces.ab.html">ab</a></li></ul>
|
|
16
|
+
<h1>Function ab</h1></div>
|
|
17
|
+
<section class="tsd-panel">
|
|
18
|
+
<ul class="tsd-signatures tsd-kind-function tsd-parent-kind-namespace">
|
|
19
|
+
<li class="tsd-signature tsd-anchor-link" id="ab">ab<span class="tsd-signature-symbol">(</span>source<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Element</span>, event<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Event</span>, eventName<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span>, execute<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span>, render<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span>, options<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">Context</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#ab" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none" id="icon-anchor-a"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5" id="icon-anchor-b"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5" id="icon-anchor-c"></path></svg></a></li>
|
|
20
|
+
<li class="tsd-description">
|
|
21
|
+
<div class="tsd-comment tsd-typography"><p>AB function similar to mojarra and Primefaces
|
|
22
|
+
not part of the spec but a convenience accessor method
|
|
23
|
+
Code provided by Thomas Andraschko</p>
|
|
24
|
+
</div>
|
|
25
|
+
<div class="tsd-parameters">
|
|
26
|
+
<h4 class="tsd-parameters-title">Parameters</h4>
|
|
27
|
+
<ul class="tsd-parameter-list">
|
|
28
|
+
<li>
|
|
29
|
+
<h5>source: <span class="tsd-signature-type">Element</span></h5>
|
|
30
|
+
<div class="tsd-comment tsd-typography"><p>the event source</p>
|
|
31
|
+
</div></li>
|
|
32
|
+
<li>
|
|
33
|
+
<h5>event: <span class="tsd-signature-type">Event</span></h5>
|
|
34
|
+
<div class="tsd-comment tsd-typography"><p>the event</p>
|
|
35
|
+
</div></li>
|
|
36
|
+
<li>
|
|
37
|
+
<h5>eventName: <span class="tsd-signature-type">string</span></h5>
|
|
38
|
+
<div class="tsd-comment tsd-typography"><p>event name for java.javax.faces.behavior.evemnt</p>
|
|
39
|
+
</div></li>
|
|
40
|
+
<li>
|
|
41
|
+
<h5>execute: <span class="tsd-signature-type">string</span></h5>
|
|
42
|
+
<div class="tsd-comment tsd-typography"><p>execute list as passed down in jsf.ajax.request</p>
|
|
43
|
+
</div></li>
|
|
44
|
+
<li>
|
|
45
|
+
<h5>render: <span class="tsd-signature-type">string</span></h5></li>
|
|
46
|
+
<li>
|
|
47
|
+
<h5>options: <span class="tsd-signature-type">Context</span><span class="tsd-signature-symbol"> = {}</span></h5></li></ul></div>
|
|
48
|
+
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4></li></ul></section></div>
|
|
49
|
+
<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
|
|
50
|
+
<div class="tsd-navigation settings">
|
|
51
|
+
<details class="tsd-index-accordion"><summary class="tsd-accordion-summary">
|
|
52
|
+
<h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><path d="M4.93896 8.531L12 15.591L19.061 8.531L16.939 6.409L12 11.349L7.06098 6.409L4.93896 8.531Z" fill="var(--color-text)"></path></svg> Settings</h3></summary>
|
|
53
|
+
<div class="tsd-accordion-details">
|
|
54
|
+
<div class="tsd-filter-visibility">
|
|
55
|
+
<h4 class="uppercase">Member Visibility</h4><form>
|
|
56
|
+
<ul id="tsd-filter-options">
|
|
57
|
+
<li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li></ul></form></div>
|
|
58
|
+
<div class="tsd-theme-toggle">
|
|
59
|
+
<h4 class="uppercase">Theme</h4><select id="theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div>
|
|
60
|
+
<nav class="tsd-navigation primary">
|
|
61
|
+
<details class="tsd-index-accordion" open><summary class="tsd-accordion-summary">
|
|
62
|
+
<h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><path d="M4.93896 8.531L12 15.591L19.061 8.531L16.939 6.409L12 11.349L7.06098 6.409L4.93896 8.531Z" fill="var(--color-text)"></path></svg> Modules</h3></summary>
|
|
63
|
+
<div class="tsd-accordion-details">
|
|
64
|
+
<ul>
|
|
65
|
+
<li class="current"><a href="../modules.html">jsf.js_<wbr/>next_<wbr/>gen</a>
|
|
66
|
+
<ul>
|
|
67
|
+
<li class="tsd-kind-namespace"><a href="../modules/jsf.html">jsf</a>
|
|
68
|
+
<ul>
|
|
69
|
+
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/jsf.ajax.html">ajax</a></li>
|
|
70
|
+
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/jsf.push.html">push</a></li>
|
|
71
|
+
<li class="tsd-kind-namespace tsd-parent-kind-namespace"><a href="../modules/jsf.util.html">util</a></li></ul></li>
|
|
72
|
+
<li class="current tsd-kind-namespace"><a href="../modules/myfaces.html">myfaces</a></li></ul></li></ul></div></details></nav>
|
|
73
|
+
<nav class="tsd-navigation secondary menu-sticky">
|
|
74
|
+
<ul>
|
|
75
|
+
<li class="current tsd-kind-function tsd-parent-kind-namespace"><a href="myfaces.ab.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-function)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6" id="icon-64-path"></rect><path d="M9.39 16V7.24H14.55V8.224H10.446V11.128H14.238V12.112H10.47V16H9.39Z" fill="var(--color-text)" id="icon-64-text"></path></svg>ab</a></li></ul></nav></div></div>
|
|
76
|
+
<div class="container tsd-generator">
|
|
77
|
+
<p>Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></div>
|
|
78
|
+
<div class="overlay"></div><script src="../assets/main.js"></script></body></html>
|