Skip to content

Commit

Permalink
ScrollTo disabled on fields
Browse files Browse the repository at this point in the history
  • Loading branch information
ngl-rojones committed Feb 21, 2020
1 parent fe64bc4 commit b69d752
Show file tree
Hide file tree
Showing 47 changed files with 239 additions and 203 deletions.
2 changes: 1 addition & 1 deletion dist/ValidPlus.js

Large diffs are not rendered by default.

Binary file modified dist/ValidPlus.js.br
Binary file not shown.
Binary file modified dist/ValidPlus.js.gz
Binary file not shown.
30 changes: 15 additions & 15 deletions docs/classes/_field_.vpfield.html
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ <h3>constructor</h3>
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in Field.ts:29</li>
<li>Defined in <a href="https://github.com/gitrojones/validplus/blob/04966b1/src/Field.ts#L29">Field.ts:29</a></li>
</ul>
</aside>
<h4 class="tsd-parameters-title">Parameters</h4>
Expand Down Expand Up @@ -171,7 +171,7 @@ <h3>$<wbr>Input</h3>
<div class="tsd-signature tsd-kind-icon">$<wbr>Input<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">HTMLInputElement</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">HTMLSelectElement</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">HTMLTextAreaElement</span><span class="tsd-signature-symbol"> =&nbsp;null</span></div>
<aside class="tsd-sources">
<ul>
<li>Defined in Field.ts:22</li>
<li>Defined in <a href="https://github.com/gitrojones/validplus/blob/04966b1/src/Field.ts#L22">Field.ts:22</a></li>
</ul>
</aside>
</section>
Expand All @@ -181,7 +181,7 @@ <h3>$can<wbr>Validate</h3>
<div class="tsd-signature tsd-kind-icon">$can<wbr>Validate<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> =&nbsp;true</span></div>
<aside class="tsd-sources">
<ul>
<li>Defined in Field.ts:25</li>
<li>Defined in <a href="https://github.com/gitrojones/validplus/blob/04966b1/src/Field.ts#L25">Field.ts:25</a></li>
</ul>
</aside>
</section>
Expand All @@ -191,7 +191,7 @@ <h3>$dirty</h3>
<div class="tsd-signature tsd-kind-icon">$dirty<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> =&nbsp;false</span></div>
<aside class="tsd-sources">
<ul>
<li>Defined in Field.ts:24</li>
<li>Defined in <a href="https://github.com/gitrojones/validplus/blob/04966b1/src/Field.ts#L24">Field.ts:24</a></li>
</ul>
</aside>
</section>
Expand All @@ -201,7 +201,7 @@ <h3>$options</h3>
<div class="tsd-signature tsd-kind-icon">$options<span class="tsd-signature-symbol">:</span> <a href="../interfaces/_interfaces_vpoptions_.vpfieldoptions.html" class="tsd-signature-type">VPFieldOptions</a><span class="tsd-signature-symbol"> =&nbsp;this.$options</span></div>
<aside class="tsd-sources">
<ul>
<li>Defined in Field.ts:23</li>
<li>Defined in <a href="https://github.com/gitrojones/validplus/blob/04966b1/src/Field.ts#L23">Field.ts:23</a></li>
</ul>
</aside>
</section>
Expand All @@ -219,7 +219,7 @@ <h3>$input</h3>
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in Field.ts:81</li>
<li>Defined in <a href="https://github.com/gitrojones/validplus/blob/04966b1/src/Field.ts#L82">Field.ts:82</a></li>
</ul>
</aside>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">HTMLInputElement</span>
Expand All @@ -232,7 +232,7 @@ <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">HTMLInput
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in Field.ts:82</li>
<li>Defined in <a href="https://github.com/gitrojones/validplus/blob/04966b1/src/Field.ts#L83">Field.ts:83</a></li>
</ul>
</aside>
<h4 class="tsd-parameters-title">Parameters</h4>
Expand All @@ -258,7 +258,7 @@ <h3>format<wbr>Input<wbr>Post</h3>
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in Field.ts:474</li>
<li>Defined in <a href="https://github.com/gitrojones/validplus/blob/04966b1/src/Field.ts#L475">Field.ts:475</a></li>
</ul>
</aside>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
Expand All @@ -275,7 +275,7 @@ <h3>format<wbr>Input<wbr>Pre</h3>
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in Field.ts:458</li>
<li>Defined in <a href="https://github.com/gitrojones/validplus/blob/04966b1/src/Field.ts#L459">Field.ts:459</a></li>
</ul>
</aside>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
Expand All @@ -292,7 +292,7 @@ <h3>is<wbr>Valid</h3>
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in Field.ts:208</li>
<li>Defined in <a href="https://github.com/gitrojones/validplus/blob/04966b1/src/Field.ts#L209">Field.ts:209</a></li>
</ul>
</aside>
<h4 class="tsd-parameters-title">Parameters</h4>
Expand Down Expand Up @@ -320,7 +320,7 @@ <h3>parse<wbr>Input</h3>
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in Field.ts:118</li>
<li>Defined in <a href="https://github.com/gitrojones/validplus/blob/04966b1/src/Field.ts#L119">Field.ts:119</a></li>
</ul>
</aside>
<h4 class="tsd-returns-title">Returns <a href="../interfaces/_interfaces_validation_validationattributes_.validationattributes.html" class="tsd-signature-type">ValidationAttributes</a></h4>
Expand All @@ -337,7 +337,7 @@ <h3>set<wbr>Input</h3>
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in Field.ts:150</li>
<li>Defined in <a href="https://github.com/gitrojones/validplus/blob/04966b1/src/Field.ts#L151">Field.ts:151</a></li>
</ul>
</aside>
<h4 class="tsd-parameters-title">Parameters</h4>
Expand All @@ -359,7 +359,7 @@ <h3>$formatter<wbr>Event</h3>
<div class="tsd-signature tsd-kind-icon">$formatter<wbr>Event<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">object</span></div>
<aside class="tsd-sources">
<ul>
<li>Defined in Field.ts:26</li>
<li>Defined in <a href="https://github.com/gitrojones/validplus/blob/04966b1/src/Field.ts#L26">Field.ts:26</a></li>
</ul>
</aside>
<section class="tsd-panel tsd-member tsd-kind-variable tsd-parent-kind-object-literal">
Expand All @@ -368,7 +368,7 @@ <h3>post</h3>
<div class="tsd-signature tsd-kind-icon">post<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">false</span><span class="tsd-signature-symbol"> =&nbsp;false</span></div>
<aside class="tsd-sources">
<ul>
<li>Defined in Field.ts:28</li>
<li>Defined in <a href="https://github.com/gitrojones/validplus/blob/04966b1/src/Field.ts#L28">Field.ts:28</a></li>
</ul>
</aside>
</section>
Expand All @@ -378,7 +378,7 @@ <h3>pre</h3>
<div class="tsd-signature tsd-kind-icon">pre<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">false</span><span class="tsd-signature-symbol"> =&nbsp;false</span></div>
<aside class="tsd-sources">
<ul>
<li>Defined in Field.ts:27</li>
<li>Defined in <a href="https://github.com/gitrojones/validplus/blob/04966b1/src/Field.ts#L27">Field.ts:27</a></li>
</ul>
</aside>
</section>
Expand Down
26 changes: 13 additions & 13 deletions docs/classes/_fieldset_.vpfieldset.html
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ <h3>constructor</h3>
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in Fieldset.ts:30</li>
<li>Defined in <a href="https://github.com/gitrojones/validplus/blob/04966b1/src/Fieldset.ts#L30">Fieldset.ts:30</a></li>
</ul>
</aside>
<h4 class="tsd-parameters-title">Parameters</h4>
Expand Down Expand Up @@ -167,7 +167,7 @@ <h3>$emit<wbr>Fields</h3>
<div class="tsd-signature tsd-kind-icon">$emit<wbr>Fields<span class="tsd-signature-symbol">:</span> <a href="_field_.vpfield.html" class="tsd-signature-type">VPField</a><span class="tsd-signature-symbol">[]</span></div>
<aside class="tsd-sources">
<ul>
<li>Defined in Fieldset.ts:18</li>
<li>Defined in <a href="https://github.com/gitrojones/validplus/blob/04966b1/src/Fieldset.ts#L18">Fieldset.ts:18</a></li>
</ul>
</aside>
</section>
Expand All @@ -177,7 +177,7 @@ <h3>$field<wbr>Watch</h3>
<div class="tsd-signature tsd-kind-icon">$field<wbr>Watch<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">any</span><span class="tsd-signature-symbol"> =&nbsp;((_e: Event, trigger: VPField) &#x3D;&gt; {_e.stopPropagation()this.$emitFields.push(trigger)this.isValid(false)}).bind(this)</span></div>
<aside class="tsd-sources">
<ul>
<li>Defined in Fieldset.ts:19</li>
<li>Defined in <a href="https://github.com/gitrojones/validplus/blob/04966b1/src/Fieldset.ts#L19">Fieldset.ts:19</a></li>
</ul>
</aside>
</section>
Expand All @@ -187,7 +187,7 @@ <h3>$fields</h3>
<div class="tsd-signature tsd-kind-icon">$fields<span class="tsd-signature-symbol">:</span> <a href="_field_.vpfield.html" class="tsd-signature-type">VPField</a><span class="tsd-signature-symbol">[]</span></div>
<aside class="tsd-sources">
<ul>
<li>Defined in Fieldset.ts:17</li>
<li>Defined in <a href="https://github.com/gitrojones/validplus/blob/04966b1/src/Fieldset.ts#L17">Fieldset.ts:17</a></li>
</ul>
</aside>
</section>
Expand All @@ -197,7 +197,7 @@ <h3>$options</h3>
<div class="tsd-signature tsd-kind-icon">$options<span class="tsd-signature-symbol">:</span> <a href="../interfaces/_interfaces_vpoptions_.vpfieldsetoptions.html" class="tsd-signature-type">VPFieldsetOptions</a><span class="tsd-signature-symbol"> =&nbsp;this.$options</span></div>
<aside class="tsd-sources">
<ul>
<li>Defined in Fieldset.ts:15</li>
<li>Defined in <a href="https://github.com/gitrojones/validplus/blob/04966b1/src/Fieldset.ts#L15">Fieldset.ts:15</a></li>
</ul>
</aside>
</section>
Expand All @@ -207,7 +207,7 @@ <h3>$strategy</h3>
<div class="tsd-signature tsd-kind-icon">$strategy<span class="tsd-signature-symbol">:</span> <a href="../interfaces/_interfaces_validation_validationstrategy_.validationstrategy.html" class="tsd-signature-type">ValidationStrategy</a></div>
<aside class="tsd-sources">
<ul>
<li>Defined in Fieldset.ts:16</li>
<li>Defined in <a href="https://github.com/gitrojones/validplus/blob/04966b1/src/Fieldset.ts#L16">Fieldset.ts:16</a></li>
</ul>
</aside>
</section>
Expand All @@ -224,7 +224,7 @@ <h3>$visible<wbr>Fields</h3>
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in Fieldset.ts:26</li>
<li>Defined in <a href="https://github.com/gitrojones/validplus/blob/04966b1/src/Fieldset.ts#L26">Fieldset.ts:26</a></li>
</ul>
</aside>
<h4 class="tsd-returns-title">Returns <a href="_field_.vpfield.html" class="tsd-signature-type">VPField</a><span class="tsd-signature-symbol">[]</span></h4>
Expand All @@ -244,7 +244,7 @@ <h3>add<wbr>Field</h3>
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in Fieldset.ts:173</li>
<li>Defined in <a href="https://github.com/gitrojones/validplus/blob/04966b1/src/Fieldset.ts#L173">Fieldset.ts:173</a></li>
</ul>
</aside>
<h4 class="tsd-parameters-title">Parameters</h4>
Expand All @@ -267,7 +267,7 @@ <h3>create<wbr>Field</h3>
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in Fieldset.ts:183</li>
<li>Defined in <a href="https://github.com/gitrojones/validplus/blob/04966b1/src/Fieldset.ts#L183">Fieldset.ts:183</a></li>
</ul>
</aside>
<h4 class="tsd-parameters-title">Parameters</h4>
Expand Down Expand Up @@ -299,7 +299,7 @@ <h3>find<wbr>Fields</h3>
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in Fieldset.ts:200</li>
<li>Defined in <a href="https://github.com/gitrojones/validplus/blob/04966b1/src/Fieldset.ts#L200">Fieldset.ts:200</a></li>
</ul>
</aside>
<h4 class="tsd-parameters-title">Parameters</h4>
Expand All @@ -322,7 +322,7 @@ <h3>is<wbr>Valid</h3>
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in Fieldset.ts:65</li>
<li>Defined in <a href="https://github.com/gitrojones/validplus/blob/04966b1/src/Fieldset.ts#L65">Fieldset.ts:65</a></li>
</ul>
</aside>
<h4 class="tsd-parameters-title">Parameters</h4>
Expand Down Expand Up @@ -350,7 +350,7 @@ <h3>remove<wbr>Field</h3>
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in Fieldset.ts:143</li>
<li>Defined in <a href="https://github.com/gitrojones/validplus/blob/04966b1/src/Fieldset.ts#L143">Fieldset.ts:143</a></li>
</ul>
</aside>
<h4 class="tsd-parameters-title">Parameters</h4>
Expand Down Expand Up @@ -378,7 +378,7 @@ <h3>watch<wbr>Field</h3>
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in Fieldset.ts:163</li>
<li>Defined in <a href="https://github.com/gitrojones/validplus/blob/04966b1/src/Fieldset.ts#L163">Fieldset.ts:163</a></li>
</ul>
</aside>
<h4 class="tsd-parameters-title">Parameters</h4>
Expand Down
24 changes: 12 additions & 12 deletions docs/classes/_lib_dommessaging_.dommessaging.html
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ <h3>$<wbr>Message<wbr>Anchor</h3>
<div class="tsd-signature tsd-kind-icon">$<wbr>Message<wbr>Anchor<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">HTMLElement</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> =&nbsp;null</span></div>
<aside class="tsd-sources">
<ul>
<li>Defined in lib/DOMMessaging.ts:16</li>
<li>Defined in <a href="https://github.com/gitrojones/validplus/blob/04966b1/src/lib/DOMMessaging.ts#L16">lib/DOMMessaging.ts:16</a></li>
</ul>
</aside>
</section>
Expand All @@ -142,7 +142,7 @@ <h3>$<wbr>Message<wbr>Class<wbr>Name</h3>
<div class="tsd-signature tsd-kind-icon">$<wbr>Message<wbr>Class<wbr>Name<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> =&nbsp;&quot;DOMMessage&quot;</span></div>
<aside class="tsd-sources">
<ul>
<li>Defined in lib/DOMMessaging.ts:14</li>
<li>Defined in <a href="https://github.com/gitrojones/validplus/blob/04966b1/src/lib/DOMMessaging.ts#L14">lib/DOMMessaging.ts:14</a></li>
</ul>
</aside>
</section>
Expand All @@ -152,7 +152,7 @@ <h3>$<wbr>Message<wbr>Container<wbr>Class<wbr>Name</h3>
<div class="tsd-signature tsd-kind-icon">$<wbr>Message<wbr>Container<wbr>Class<wbr>Name<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> =&nbsp;&quot;DOMMessages&quot;</span></div>
<aside class="tsd-sources">
<ul>
<li>Defined in lib/DOMMessaging.ts:13</li>
<li>Defined in <a href="https://github.com/gitrojones/validplus/blob/04966b1/src/lib/DOMMessaging.ts#L13">lib/DOMMessaging.ts:13</a></li>
</ul>
</aside>
</section>
Expand All @@ -162,7 +162,7 @@ <h3>$<wbr>Message<wbr>Node</h3>
<div class="tsd-signature tsd-kind-icon">$<wbr>Message<wbr>Node<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">HTMLElement</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> =&nbsp;null</span></div>
<aside class="tsd-sources">
<ul>
<li>Defined in lib/DOMMessaging.ts:15</li>
<li>Defined in <a href="https://github.com/gitrojones/validplus/blob/04966b1/src/lib/DOMMessaging.ts#L15">lib/DOMMessaging.ts:15</a></li>
</ul>
</aside>
</section>
Expand All @@ -172,7 +172,7 @@ <h3>$<wbr>Message<wbr>NodePOS</h3>
<div class="tsd-signature tsd-kind-icon">$<wbr>Message<wbr>NodePOS<span class="tsd-signature-symbol">:</span> <a href="../enums/_enums_positions_.verticalposition.html" class="tsd-signature-type">VerticalPosition</a><span class="tsd-signature-symbol"> =&nbsp;VerticalPosition.bottom</span></div>
<aside class="tsd-sources">
<ul>
<li>Defined in lib/DOMMessaging.ts:17</li>
<li>Defined in <a href="https://github.com/gitrojones/validplus/blob/04966b1/src/lib/DOMMessaging.ts#L17">lib/DOMMessaging.ts:17</a></li>
</ul>
</aside>
</section>
Expand All @@ -189,7 +189,7 @@ <h3>DOMCreate<wbr>Element</h3>
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in lib/DOMMessaging.ts:19</li>
<li>Defined in <a href="https://github.com/gitrojones/validplus/blob/04966b1/src/lib/DOMMessaging.ts#L19">lib/DOMMessaging.ts:19</a></li>
</ul>
</aside>
<h4 class="tsd-parameters-title">Parameters</h4>
Expand All @@ -215,7 +215,7 @@ <h3>add<wbr>Message</h3>
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in lib/DOMMessaging.ts:71</li>
<li>Defined in <a href="https://github.com/gitrojones/validplus/blob/04966b1/src/lib/DOMMessaging.ts#L71">lib/DOMMessaging.ts:71</a></li>
</ul>
</aside>
<h4 class="tsd-parameters-title">Parameters</h4>
Expand All @@ -241,7 +241,7 @@ <h3>add<wbr>Messages</h3>
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in lib/DOMMessaging.ts:92</li>
<li>Defined in <a href="https://github.com/gitrojones/validplus/blob/04966b1/src/lib/DOMMessaging.ts#L92">lib/DOMMessaging.ts:92</a></li>
</ul>
</aside>
<h4 class="tsd-parameters-title">Parameters</h4>
Expand All @@ -267,7 +267,7 @@ <h3>clear<wbr>Messages</h3>
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in lib/DOMMessaging.ts:113</li>
<li>Defined in <a href="https://github.com/gitrojones/validplus/blob/04966b1/src/lib/DOMMessaging.ts#L113">lib/DOMMessaging.ts:113</a></li>
</ul>
</aside>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
Expand All @@ -284,7 +284,7 @@ <h3>generate<wbr>Message<wbr>Node</h3>
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in lib/DOMMessaging.ts:27</li>
<li>Defined in <a href="https://github.com/gitrojones/validplus/blob/04966b1/src/lib/DOMMessaging.ts#L27">lib/DOMMessaging.ts:27</a></li>
</ul>
</aside>
<h4 class="tsd-parameters-title">Parameters</h4>
Expand All @@ -310,7 +310,7 @@ <h3>remove<wbr>Message</h3>
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in lib/DOMMessaging.ts:98</li>
<li>Defined in <a href="https://github.com/gitrojones/validplus/blob/04966b1/src/lib/DOMMessaging.ts#L98">lib/DOMMessaging.ts:98</a></li>
</ul>
</aside>
<h4 class="tsd-parameters-title">Parameters</h4>
Expand All @@ -333,7 +333,7 @@ <h3>remove<wbr>Message<wbr>Node</h3>
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in lib/DOMMessaging.ts:62</li>
<li>Defined in <a href="https://github.com/gitrojones/validplus/blob/04966b1/src/lib/DOMMessaging.ts#L62">lib/DOMMessaging.ts:62</a></li>
</ul>
</aside>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
Expand Down
Loading

0 comments on commit b69d752

Please sign in to comment.