GIF89a=( �' 7IAXKgNgYvYx\%wh&h}t�h%�s%x�}9�R��&�0%� (�.��5�SD��&�a)�x5��;ͣ*ȡ&ղ)ׯ7׵<ѻ4�3�H֧KͯT��Y�aq��q��F� !� ' !� NETSCAPE2.0 , =( ��pH,�Ȥr�l:xШtJ�Z�جv��z��xL.:��z�n���|N�����~�������& !�0`9R�}��"�"a:S�~x��������g���E�������R���E����B�� ��ȸ��D���"�Ů� �H��L��D٫D�B�����D���T���H �G��A R�ڐ |�� ٭&��E8�S�kG�A�px�a��� R2XB��E8I���6X�:vT)�~��q�賥��"F~%x� � 4#Z�0O|-4Bs�X:= Q� Sal��yXJ`GȦ|s h��K3l7�B|�$'7Jީܪ0!��D�n=�P� ����0`�R�lj����v>���5 �.69�ϸd�����nlv�9��f{���Pbx �l5}�p� ��� �3a���I�O����!ܾ���i��9��#��)p�a ޽ �{�)vm��%D~ 6f��s}Œ�D�W E�`!� �&L8x� �ܝ{)x`X/>�}m��R�*|`D�=�_ ^�5 !_&'a�O�7�c��`DCx`�¥�9�Y�F���`?��"� �n@`�} lď��@4>�d S �v�xN��"@~d��=�g�s~G��� ���ud &p8Q�)ƫlXD����A~H�ySun�j���k*D�LH�] ��C"J��Xb~ʪwSt}6K,��q�S:9ت:���l�@�`�� �.۬�t9�S�[:��=`9N����{¿�A !R�:���6��x�0�_ �;������^���#����!����U���;0L1�����p% A��U̬ݵ��%�S��!���~`�G���� ���=4�np�3���������u�u�ٮ|%2�I��r�#0��J``8�@S@5� ���^`8E�]�.�S���7 � �0�j S�D� z���i�S�����!���l��w9*�D�I�nEX��� &A�Go�Qf��F��;���}�J����F5��Q|���X��T��y���]� o ��C=��:���PB@ D׽S�(>�C�x}`��xJЬ�۠��p+eE0`�}`A �/NE�� �9@��� H�7�!%B0`�l*��!8 2�%� �:�1�0E��ux%nP1�!�C)�P81l�ɸF#Ƭ{����B0>�� �b�`��O3��()yRpb��E.ZD8�H@% �Rx+%���c� ���f��b�d�`F�"8�XH"��-�|1�6iI, 2�$+](A*j� QT�o0.�U�`�R�}`�SN����yae�����b��o~ S)�y�@��3 �tT�0�&�+~L�f"�-|�~��>!�v��~�\Q1)}@�}h#aP72�"�$ !� " , =( &7IAXG]KgNgYvYxR"k\%w]'}h}t�h%�g+�s%r.m3ax3�x�}9��&��+�!7�0%� (�.�SD��&��;�"&ײ)׻4��6�K� �@pH,�Ȥr�l:xШtJ�Z�جv��z��xL.:��z�n���|N�����~�������& !�0`9R�}��"�"a:S�~x��������g �� E �� �������E �´��C���ǶR��D��"Ʒ�ʱH��M��GڬD�B����D��T����G���C�C� l&�~:'�tU�6ɹ#��)�'�.6�&��Ȼ K(8p0N�?!�2"��NIJX>R��OM '��2�*x�>#n� �@<[:�I�f ��T���Cdb��[�}E�5MBo��@�`@��tW-3 �x�B���jI�&E�9[T&$��ﯧ&"s��ȳ����dc�UUρ#���ldj?����`\}���u|3'�R]�6 �S#�!�FKL�*N E���`$�:e�YD�q�.�촁�s \-�jA 9�����-��M[�x(�s��x�|���p��}k�T�DpE@W� ��]k`1� ���Yb ��0l��*n0��"~zBd�~u�7�0Bl��0-�x~|U�U0 �h�*HS�|��e"#"?vp�i`e6^�+q��`m8 #V�� ��VS|`��"m"сSn|@:U���~`pb�G�ED����2F�I�? >�x� R� ��%~jx��<�a�9ij�2�D��&: Z`�]w���:�6��B�7eFJ|�ҧ�,���FǮcS�ʶ+B�,�ܺN���>PAD�HD��~���n��}�#�� Q��S���2�X�{�k�lQ�2�����w�|2� h9��G�,m���3��6-��E�L��I�³*K���q�`DwV�QXS��peS��� qܧTS����R�u �<�a�*At�lmE� � ��N[P1�ۦ��$��@`��Dpy�yXvCAy�B`}D� 0QwG#� �a[^�� $���Ǧ{L�"[��K�g�;�S~��GX.�goT.��ư��x���?1z��x~:�g�|�L� ��S`��0S]P�^p F<""�?!,�!N4&P� ����:T�@h�9%t��:�-~�I<`�9p I&.)^ 40D#p@�j4�ج:�01��rܼF2oW�#Z ;$Q q  �K��Nl#29 !F@�Bh�ᏬL!XF�LHKh�.�hE&J�G��<"WN!�����Y@� >R~19J"�2,/ &.GXB%�R�9B6�W]���W�I�$��9�RE8Y� ��"�A5�Q.axB�&ة�J�! �t)K%tS-�JF b�NMxL��)�R��"���6O!TH�H� 0 !� ) , =( &AXKgNgYvYxR"k\%wh&h}h%�g+�s%r.x3�x�}9��&��+�R,�!7�0%� (�.��5��&�a)��;�"&ף*Ȳ)ׯ7׻4�3��6�H֧KͻH�T��Y��q��h� ��pH,�Ȥr�l:xШtJ�Z�جv��z��xL.:��z�n���|N�����~�������& !�0`9R�}��"�"a:S�~x��������g �� E$����� � ����$E$��"��D� � ������R��C��� E ��H�M��G�D� �B��ϾD��a��`1r��Ӑ�� �o~�zU!L�C'�yW�UGt����ll�0���uG�)A�s[��x� �xO%��X2�  P�n:R/��aHae+�Dm?# ǣ6�8�J�x�Di�M���j���5oQ7�- <! *�l��R2r/a!l)d� A"�E���� &� ;��c �%����b��pe~C"B���H�eF2��`8qb�t_`ur`e� w�u3��Pv�h""�`�Íx�LĹ��3� �~ֺ�:���MDfJ� �۵�W�%�S�X �؁)�@��:E��w�u�Sxb8y\m�zS��Zb�E�L��w!y(>�"w�=�|��s�d �C�W)H�cC$�L �7r.�\{)@�`@ �X�$PD `aaG:���O�72E�amn]�"Rc�x�R� &dR8`g��i�xLR!�P &d����T���i�|�_ � Qi�#�`g:��:noM� :V �)p����W&a=�e�k� j���1߲s�x�W�jal|0��B0�, \j۴:6���C ��W��|��9���zĸV {�;��n��V�m�I��.��PN� ����C��+��By�ѾHŸ:��� 7�Y�FTk�SaoaY$D�S���29R�kt� ��f� ��:��Sp�3�I��DZ� �9���g��u�*3)O��[_hv ,���Et x�BH� �[��64M@�S�M7d�l�ܶ5-��U܍��z�R3Ԭ3~ ��P��5�g: ���kN�&0�j4���#{��3S�2�K�'ợl���2K{� {۶?~m𸧠�I�nE�='����^���_�=��~�#O���'���o..�Y�n��CSO��a��K��o,���b�����{�C�� "�{�K ��w��Ozdը�:$ ���v�] A#� ���a�z)Rx׿ƥ�d``�w-�y�f�K!����|��P��=�`�(f��'Pa ��BJa%��f�%`�}F����6>��`G"�}�=�!o`�^FP�ةQ�C���`(�}\�ݮ ��$<��n@dĠE#��U�I�!� #l��9`k���'Rr��Z�NB�MF �[�+9���-�wj���8�r� ,V�h"�|�S=�G_��"E� 0i*%̲��da0mVk�):;&6p>�jK ��# �D�:�c?:R Ӭf��I-�"�<�="��7�3S��c2RW ,�8(T"P0F¡Jh�" ; 403WebShell
403Webshell
Server IP : 173.249.157.85  /  Your IP : 3.144.251.232
Web Server : Apache
System : Linux server.frogzhost.com 3.10.0-1127.19.1.el7.x86_64 #1 SMP Tue Aug 25 17:23:54 UTC 2020 x86_64
User : econtech ( 1005)
PHP Version : 7.3.33
Disable Function : NONE
MySQL : OFF  |  cURL : OFF  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /home/econtech/www/public/back/assets/vendors/general/bootstrap-touchspin/demo/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/econtech/www/public/back/assets/vendors/general/bootstrap-touchspin/demo/index.html
<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  <title>Bootstrap TouchSpin</title>
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <meta name="description" content="A mobile and touch friendly input spinner component for Bootstrap 3 & 4.">
  <meta name="author" content="István Ujj-Mészáros">

  <meta itemprop="name" content="Bootstrap Touchspin">
  <meta itemprop="description" content="A mobile and touch friendly input spinner component for Bootstrap 3 & 4.">

  <link rel="shortcut icon" href="favicon.ico">

  <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
  <link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.0.8/css/all.css" integrity="sha384-3AB7yXWz4OeoZcPbieVW64vVXEwADiYyAEhwilzWsLw+9FgqpyjjStpPnpBO8o8S" crossorigin="anonymous">


  <!-- BOOTSTRAP 4 -->
  <link href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/4.0.0/css/bootstrap.min.css" rel="stylesheet">
  <script src="//cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/4.0.0/js/bootstrap.bundle.min.js"></script>

  <script src="//cdnjs.cloudflare.com/ajax/libs/numeral.js/2.0.6/numeral.min.js"></script>

  <link href="https://cdnjs.cloudflare.com/ajax/libs/prettify/r298/prettify.css" rel="stylesheet" type="text/css" media="all">
  <link href="../src/jquery.bootstrap-touchspin.css" rel="stylesheet" type="text/css" media="all">
  <link href="demo.css" rel="stylesheet" type="text/css" media="all">
  <script src="https://cdnjs.cloudflare.com/ajax/libs/prettify/r298/prettify.js"></script>
  <script src="../src/jquery.bootstrap-touchspin.js"></script>


</head>

<body>
<div class="container">
  <div class="hero-unit">

    <h1>Bootstrap TouchSpin</h1>

    <a id="link-ghp" class="btn btn-primary" href="https://github.com/istvan-ujjmeszaros/bootstrap-touchspin" target="_blank"><span class="glyphicon glyphicon-link"></span>
      Github project page</a>
    <a id="link-ghdl" href="https://github.com/istvan-ujjmeszaros/bootstrap-touchspin/archive/master.zip" class="btn btn-primary" title="download"><span class="glyphicon glyphicon-download"></span>
      Download</a>

  </div>

  <p>
    A mobile and touch friendly input spinner component for Bootstrap 3 & 4.<br>
    It supports the mousewheel and the up/down keys. </p>

  <p>CSS file is necessary only if you are using vertical buttons functionality. In other cases plugin is using boostrap
    input-group component.</p>

  <h2>Examples</h2>

  <div class="row">
    <div class="col-md-5">
      <label for="demo0">Example using data attributes:</label>
      <input id="demo0" type="text" value="40" name="demo0" data-bts-min="0" data-bts-max="100" data-bts-init-val="" data-bts-step="1" data-bts-decimal="0" data-bts-step-interval="100" data-bts-force-step-divisibility="round" data-bts-step-interval-delay="500" data-bts-prefix="" data-bts-postfix="" data-bts-prefix-extra-class="" data-bts-postfix-extra-class="" data-bts-booster="true" data-bts-boostat="10" data-bts-max-boosted-step="false" data-bts-mousewheel="true" data-bts-button-down-class="btn btn-success" data-bts-button-up-class="btn btn-success">
    </div>

    <div class="col-md-7">
<pre class="prettyprint">
&lt;input id=&quot;demo0&quot;
       type=&quot;text&quot;
       value=&quot;55&quot;
       name=&quot;demo0&quot;
       data-bts-min=&quot;0&quot;
       data-bts-max=&quot;100&quot;
       data-bts-init-val=&quot;&quot;
       data-bts-step=&quot;1&quot;
       data-bts-decimal=&quot;0&quot;
       data-bts-step-interval=&quot;100&quot;
       data-bts-force-step-divisibility=&quot;round&quot;
       data-bts-step-interval-delay=&quot;500&quot;
       data-bts-prefix=&quot;&quot;
       data-bts-postfix=&quot;&quot;
       data-bts-prefix-extra-class=&quot;&quot;
       data-bts-postfix-extra-class=&quot;&quot;
       data-bts-booster=&quot;true&quot;
       data-bts-boostat=&quot;10&quot;
       data-bts-max-boosted-step=&quot;false&quot;
       data-bts-mousewheel=&quot;true&quot;
       data-bts-button-down-class=&quot;btn btn-secondary&quot;
       data-bts-button-up-class=&quot;btn btn-secondary&quot;
        /&gt;
&lt;script&gt;
    $(&quot;input[name='demo0']&quot;).TouchSpin();
&lt;/script&gt;
</pre>

      <script>
        $("input[name='demo0']").TouchSpin();
      </script>

    </div>
  </div>

  <div class="row">
    <div class="col-md-5">
      <label for="demo_callback">Callback example to format the number with
        <a href="http://numeraljs.com/" target="_blank">numeraljs</a> (anything else can be used):</label>
      <input id="demo_callback" type="text" value="10000.00" name="demo_callback" data-bts-min="-1000000" data-bts-max="1000000" data-bts-step=".01" data-bts-decimals="2"/>
    </div>

    <div class="col-md-7">
<pre class="prettyprint">
&lt;input id=&quot;demo_callback&quot; type=&quot;text&quot;
       value=&quot;10000.00&quot;
       name=&quot;demo_callback&quot;
       data-bts-min=&quot;-1000000&quot;
       data-bts-max=&quot;1000000&quot;
       data-bts-step=&quot;.01&quot;
       data-bts-decimals=&quot;2&quot;
/&gt;
&lt;script src=&quot;//cdnjs.cloudflare.com/ajax/libs/numeral.js/2.0.6/numeral.min.js&quot;&gt;&lt;/script&gt;
&lt;script&gt;
  $(&quot;input[name='demo_callback']&quot;).TouchSpin({
    callback_before_calculation: function(v){
      return numeral(v).value();
    },
    callback_after_calculation: function(v){
      return numeral(v).format(&quot;$0,0.00&quot;);
    }
  });
&lt;/script&gt;
</pre>

      <script>
        $("input[name='demo_callback']").TouchSpin({
          callback_before_calculation: function(v) {
            return numeral(v).value();
          },
          callback_after_calculation: function(v) {
            return numeral(v).format("$0,0.00");
          }
        });
      </script>

    </div>
  </div>

  <div class="row">
    <div class="col-md-5">
      <label for="demo_vertical">Vertical button alignment (large):</label>
      <input id="demo_vertical" type="text" value="" name="demo_vertical" class="input-lg">
    </div>

    <div class="col-md-7">
<pre class="prettyprint">
&lt;input id=&quot;demo_vertical&quot; type=&quot;text&quot; value=&quot;&quot; name=&quot;demo_vertical&quot;&gt;
&lt;script&gt;
    $(&quot;input[name='demo_vertical']&quot;).TouchSpin({
      verticalbuttons: true
    });
&lt;/script&gt;
</pre>

      <script>
        $("input[name='demo_vertical']").TouchSpin({
          verticalbuttons: true
        });
      </script>

    </div>
  </div>

  <div class="row">
    <div class="col-md-5">
      <label for="demo_vertical2">Vertical buttons with custom icons (small):</label>
      <input id="demo_vertical2" type="text" value="" name="demo_vertical2" class="input-sm">
    </div>

    <div class="col-md-7">
<pre class="prettyprint">
&lt;input id=&quot;demo_vertical2&quot; type=&quot;text&quot; value=&quot;&quot; name=&quot;demo_vertical2&quot;&gt;
&lt;script&gt;
    $(&quot;input[name='demo_vertical2']&quot;).TouchSpin({
      verticalbuttons: true,
      verticalup: '&lt;i class=&quot;fas fa-caret-up&quot;&gt;&lt;/i&gt;',
      verticaldown: '&lt;i class=&quot;fas fa-caret-down&quot;&gt;&lt;/i&gt;'
    });
&lt;/script&gt;
</pre>

      <script>
        $("input[name='demo_vertical2']").TouchSpin({
          verticalbuttons: true,
          verticalup: '<i class="fas fa-caret-up"></i>',
          verticaldown: '<i class="fas fa-caret-down"></i>'
        });
      </script>

    </div>
  </div>

  <div class="row">
    <div class="col-md-5">
      <label for="demo1">Example with postfix:</label> <input id="demo1" type="text" value="55" name="demo1">
    </div>

    <div class="col-md-7">
<pre class="prettyprint">
&lt;input id=&quot;demo1&quot; type=&quot;text&quot; value=&quot;55&quot; name=&quot;demo1&quot;&gt;
&lt;script&gt;
    $(&quot;input[name='demo1']&quot;).TouchSpin({
        min: 0,
        max: 100,
        step: 0.1,
        decimals: 2,
        boostat: 5,
        maxboostedstep: 10,
        postfix: '%'
    });
&lt;/script&gt;
</pre>

      <script>
        $("input[name='demo1']").TouchSpin({
          min: 0,
          max: 100,
          step: 0.1,
          decimals: 2,
          boostat: 5,
          maxboostedstep: 10,
          postfix: '%'
        });
      </script>

    </div>
  </div>
  <div class="row">
    <div class="col-md-5">
      <form class="form-horizontal" role="form">
        <div class="form-group">
          <label for="demo2" class="col-md-5 control-label">With prefix</label>
          <input id="demo2" type="text" value="0" name="demo2" class="col-md-7 form-control">
        </div>
      </form>
    </div>

    <div class="col-md-7">
<pre class="prettyprint">
&lt;form class=&quot;form-horizontal&quot; role=&quot;form&quot;&gt;
    &lt;div class=&quot;form-group&quot;&gt;
        &lt;label for=&quot;demo2&quot; class=&quot;col-md-5 control-label&quot;&gt;Example:&lt;/label&gt; &lt;input id=&quot;demo2&quot; type=&quot;text&quot; value=&quot;0&quot; name=&quot;demo2&quot; class=&quot;col-md-7 form-control&quot;&gt;
    &lt;/div&gt;
&lt;/form&gt;

&lt;script&gt;
    $(&quot;input[name='demo2']&quot;).TouchSpin({
        min: -1000000000,
        max: 1000000000,
        stepinterval: 50,
        maxboostedstep: 10000000,
        prefix: '$'
    });
&lt;/script&gt;
</pre>
      <script>
        $("input[name='demo2']").TouchSpin({
          min: -1000000000,
          max: 1000000000,
          stepinterval: 50,
          maxboostedstep: 10000000,
          prefix: '$'
        });
      </script>

    </div>
  </div>

  <div class="row">
    <div class="col-md-5">
      <label for="demo3">Init with empty value:</label> <input id="demo3" type="text" value="" name="demo3">
    </div>

    <div class="col-md-7">
<pre class="prettyprint">
&lt;input id=&quot;demo3&quot; type=&quot;text&quot; value=&quot;&quot; name=&quot;demo3&quot;&gt;
&lt;script&gt;
    $(&quot;input[name='demo3']&quot;).TouchSpin();
&lt;/script&gt;
</pre>

      <script>
        $("input[name='demo3']").TouchSpin();
      </script>

    </div>
  </div>

  <div class="row">
    <p>
      The <code>initval</code> setting is only applied when no explicit value is set on the input with the
      <code>value</code> attribute. </p>

    <div class="col-md-5">
      <label for="demo3_21">Value attribute is not set (Big)
        <small>(applying settings.initval)</small>
        :</label> <input id="demo3_21" type="text" class="input-lg" value="" name="demo3_21">
      <label for="demo3_22">Value is set explicitly to 33 (Small)
        <small>(skipping settings.initval)</small>
        :</label> <input id="demo3_22" type="text" class="input-sm" value="33" name="demo3_22">
    </div>

    <div class="col-md-7">
<pre class="prettyprint">
&lt;input id=&quot;demo3_21&quot; type=&quot;text&quot; class=&quot;input-lg&quot; value=&quot;&quot; name=&quot;demo3_21&quot;&gt;
&lt;script&gt;
    $(&quot;input[name='demo3_21']&quot;).TouchSpin({
        initval: 40
    });
&lt;/script&gt;
&lt;input id=&quot;demo3_22&quot; type=&quot;text&quot; class=&quot;input-sm&quot; value=&quot;33&quot; name=&quot;demo3_22&quot;&gt;
&lt;script&gt;
    $(&quot;input[name='demo3_22']&quot;).TouchSpin({
        initval: 40
    });
&lt;/script&gt;
</pre>

      <script>
        $("input[name='demo3_21']").TouchSpin({
          initval: 40
        });
        $("input[name='demo3_22']").TouchSpin({
          initval: 40
        });
      </script>

    </div>
  </div>

  <p>
    Size of the whole controller can be set with applying <code>input-sm</code> or <code>input-lg</code> class on the
    input, or by applying the plugin on an input inside an <code>input-group</code> with the proper size class(<code>input-group-sm</code>
    or <code>input-group-lg</code>). </p>

  <div class="row">
    <div class="col-md-5">
      <label for="demo4">Button postfix (small):</label>
      <input id="demo4" type="text" value="" name="demo4" class="input-sm">
    </div>

    <div class="col-md-7">
<pre class="prettyprint">
&lt;input id=&quot;demo4&quot; type=&quot;text&quot; value=&quot;&quot; name=&quot;demo4&quot; class=&quot;input-sm&quot;&gt;
&lt;script&gt;
    $(&quot;input[name='demo4']&quot;).TouchSpin({
        postfix: &quot;a button&quot;,
        postfix_extraclass: &quot;btn btn-primary&quot;
    });
&lt;/script&gt;
</pre>

      <script>
        $("input[name='demo4']").TouchSpin({
          postfix: "a button",
          postfix_extraclass: "btn btn-primary"
        });
      </script>

    </div>
  </div>

  <div class="row">
    <div class="col-md-5">
      <label for="demo4_2">Button postfix (large):</label>

      <div class="input-group input-group-lg">
        <input id="demo4_2" type="text" value="" name="demo4_2" class="form-control input-lg">
      </div>
    </div>

    <div class="col-md-7">
<pre class="prettyprint">
&lt;div class=&quot;input-group input-group-lg&quot;&gt;
    &lt;input id=&quot;demo4_2&quot; type=&quot;text&quot; value=&quot;&quot; name=&quot;demo4_2&quot; class=&quot;form-control input-lg&quot;&gt;
&lt;/div&gt;
&lt;script&gt;
    $(&quot;input[name='demo4_2']&quot;).TouchSpin({
        postfix: &quot;a button&quot;,
        postfix_extraclass: &quot;btn btn-primary&quot;
    });
&lt;/script&gt;
</pre>

      <script>
        $("input[name='demo4_2']").TouchSpin({
          postfix: "a button",
          postfix_extraclass: "btn btn-primary"
        });
      </script>

    </div>
  </div>

  <div class="row">
    <div class="col-md-5">

      <label for="demo5">Button group:</label>
      <div class="input-group">
        <input id="demo5" type="text" class="form-control" name="demo5" value="50">

        <div class="input-group-append">
          <button type="button" class="btn btn-success">Action</button>
          <button class="btn btn-info dropdown-toggle" type="button" data-toggle="dropdown">Dropdown</button>
          <div class="dropdown-menu">
            <a class="dropdown-item" href="#">Action</a>
            <a class="dropdown-item" href="#">Another action</a>
            <a class="dropdown-item" href="#">Something else here</a>
            <div role="separator" class="dropdown-divider"></div>
            <a class="dropdown-item" href="#">Separated link</a>
          </div>
        </div>
      </div>

    </div>

    <div class="col-md-7">
<pre class="prettyprint">
&lt;div class=&quot;input-group&quot;&gt;
    &lt;input id=&quot;demo5&quot; type=&quot;text&quot; class=&quot;form-control&quot; name=&quot;demo5&quot; value=&quot;50&quot;&gt;

    &lt;div class=&quot;input-group-append&quot;&gt;
        &lt;button type=&quot;button&quot; class=&quot;btn btn-success&quot;&gt;Action&lt;/button&gt;
        &lt;button class=&quot;btn btn-info dropdown-toggle&quot; type=&quot;button&quot; data-toggle=&quot;dropdown&quot;&gt;Dropdown&lt;/button&gt;
        &lt;div class=&quot;dropdown-menu&quot;&gt;
            &lt;a class=&quot;dropdown-item&quot; href=&quot;#&quot;&gt;Action&lt;/a&gt;
            &lt;a class=&quot;dropdown-item&quot; href=&quot;#&quot;&gt;Another action&lt;/a&gt;
            &lt;a class=&quot;dropdown-item&quot; href=&quot;#&quot;&gt;Something else here&lt;/a&gt;
            &lt;div role=&quot;separator&quot; class=&quot;dropdown-divider&quot;&gt;&lt;/div&gt;
            &lt;a class=&quot;dropdown-item&quot; href=&quot;#&quot;&gt;Separated link&lt;/a&gt;
        &lt;/div&gt;
    &lt;/div&gt;
&lt;/div&gt;
&lt;script&gt;
    $(&quot;input[name='demo5']&quot;).TouchSpin({
        prefix: &quot;pre&quot;,
        postfix: &quot;post&quot;
    });
&lt;/script&gt;
</pre>

      <script>
        $("input[name='demo5']").TouchSpin({
          prefix: "pre",
          postfix: "post"
        });
      </script>

    </div>
  </div>

  <div class="row">
    <div class="col-md-5">
      <label for="demo6">Change button class:</label> <input id="demo6" type="text" value="50" name="demo6">
    </div>

    <div class="col-md-7">
<pre class="prettyprint">
$(&quot;input[name='demo6']&quot;).TouchSpin({
    buttondown_class: &quot;btn btn-link&quot;,
    buttonup_class: &quot;btn btn-link&quot;
});
</pre>

      <script>
        $("input[name='demo6']").TouchSpin({
          buttondown_class: "btn btn-link",
          buttonup_class: "btn btn-link"
        });
      </script>

    </div>
  </div>

  <div class="row">
    <div class="col-md-5">
      <label for="demo7">Blank/Non-Number replaced:</label> <input id="demo7" type="text" value="50" name="demo7">
    </div>

    <div class="col-md-7">
<pre class="prettyprint">
$(&quot;input[name='demo7']&quot;).TouchSpin({
    replacementval: 10
});
</pre>

      <script>
        $("input[name='demo7']").TouchSpin({
          replacementval: 10
        });
      </script>

    </div>
  </div>

  <p style="margin-top: 40px;">By setting the <code>min</code> or <code>max</code> option to <code>NULL</code> no limit is enfored to the particular boundary.</p>

  <div class="row">
    <div class="col-md-5">
      <label for="demo8-1">Disabling boundaries:</label> <input id="demo8-1" type="text" value="1234567890" name="demo8-1">
    </div>

    <div class="col-md-7">
<pre class="prettyprint">
&lt;input id="demo8-1" type="text" value="1234567890" name="demo8-1">
&lt;script>
    $(&quot;input[name='demo8-1']&quot;).TouchSpin({
        min: null,
        max: null
    });
&lt;/script>
</pre>

      <script>
        $("input[name='demo8-1']").TouchSpin({
          min: null,
          max: null
        });
      </script>

    </div>
  </div>

  <div class="row">
    <div class="col-md-3">
      <label for="demo8">Event demo:</label>
      <input id="demo8" type="text" value="50" name="demo8">
    </div>
    <div class="col-md-9">
      <pre id="demo8textarea" style="height:200px;overflow:auto;"></pre>
    </div>

    <script>
      var i = $("input[name='demo8']"),
        demoarea = $("#demo8textarea"),
        text = "";

      function writeLine(line) {
        text += line + "\n";
        demoarea.text(text);
        demoarea.scrollTop(
          demoarea[0].scrollHeight - demoarea.height()
        );
      }

      i.TouchSpin({});
      i.on("touchspin.on.startspin", function() {
        writeLine("touchspin.on.startspin");
      });
      i.on("touchspin.on.startupspin", function() {
        writeLine("touchspin.on.startupspin");
      });
      i.on("touchspin.on.startdownspin", function() {
        writeLine("touchspin.on.startdownspin");
      });
      i.on("touchspin.on.stopspin", function() {
        writeLine("touchspin.on.stopspin");
      });
      i.on("touchspin.on.stopupspin", function() {
        writeLine("touchspin.on.stopupspin");
      });
      i.on("touchspin.on.stopdownspin", function() {
        writeLine("touchspin.on.stopdownspin");
      });
      i.on("touchspin.on.min", function() {
        writeLine("touchspin.on.min");
      });
      i.on("touchspin.on.max", function() {
        writeLine("touchspin.on.max");
      });
    </script>

  </div>

  <h2>Settings</h2>
  <table class="table table-striped table-bordered docs">
    <thead>
    <tr>
      <th>Option</th>
      <th>Default</th>
      <th>Description</th>
    </tr>
    </thead>
    <tbody>
    <tr>
      <td><code>initval</code></td>
      <td><code>""</code></td>
      <td>Applied when no explicit value is set on the input with the <code>value</code> attribute. Empty string means
        that the value remains empty on initialization.
      </td>
    </tr>
    <tr>
      <td><code>replacementval</code></td>
      <td><code>""</code></td>
      <td>Applied when user leaves the field empty/blank or enters non-number. Empty string means that the value will
        not be replaced.
      </td>
    </tr>
    <tr>
      <td><code>min</code></td>
      <td><code>0</code></td>
      <td>Minimum value. Can be <code>null</code>, when there is no boundary check.</td>
    </tr>
    <tr>
      <td><code>max</code></td>
      <td><code>100</code></td>
      <td>Maximum value. Can be <code>null</code>, when there is no boundary check.</td>
    </tr>
    <tr>
      <td><code>step</code></td>
      <td><code>1</code></td>
      <td>Incremental/decremental step on up/down change.</td>
    </tr>
    <tr>
      <td><code>forcestepdivisibility</code></td>
      <td><code>'round'</code></td>
      <td>How to force the value to be divisible by step value: <code>'none'</code> | <code>'round'</code> | <code>'floor'</code>
        | <code>'ceil'</code></td>
    </tr>
    <tr>
      <td><code>decimals</code></td>
      <td><code>0</code></td>
      <td>Number of decimal points.</td>
    </tr>
    <tr>
      <td><code>stepinterval</code></td>
      <td><code>100</code></td>
      <td>Refresh rate of the spinner in milliseconds.</td>
    </tr>
    <tr>
      <td><code>stepintervaldelay</code></td>
      <td><code>500</code></td>
      <td>Time in milliseconds before the spinner starts to spin.</td>
    </tr>
    <tr>
      <td><code>verticalbuttons</code></td>
      <td><code>false</code></td>
      <td>Enables the traditional up/down buttons.</td>
    </tr>
    <tr>
      <td><code>verticalup</code></td>
      <td><code>+</code></td>
      <td>Content of the up button with vertical buttons mode enabled.</td>
    </tr>
    <tr>
      <td><code>verticaldown</code></td>
      <td><code>-</code></td>
      <td>Content of the down button with vertical buttons mode enabled.</td>
    </tr>
    <tr>
      <td><code>verticalupclass</code></td>
      <td><code>""</code></td>
      <td>Class of the up button with vertical buttons mode enabled.</td>
    </tr>
    <tr>
      <td><code>verticaldownclass</code></td>
      <td><code>""</code></td>
      <td>Class of the down button with vertical buttons mode enabled.</td>
    </tr>
    <tr>
      <td><code>prefix</code></td>
      <td><code>""</code></td>
      <td>Text before the input.</td>
    </tr>
    <tr>
      <td><code>postfix</code></td>
      <td><code>""</code></td>
      <td>Text after the input.</td>
    </tr>
    <tr>
      <td><code>prefix_extraclass</code></td>
      <td><code>""</code></td>
      <td>Extra class(es) for prefix.</td>
    </tr>
    <tr>
      <td><code>postfix_extraclass</code></td>
      <td><code>""</code></td>
      <td>Extra class(es) for postfix.</td>
    </tr>
    <tr>
      <td><code>booster</code></td>
      <td><code>true</code></td>
      <td>If enabled, the the spinner is continually becoming faster as holding the button.</td>
    </tr>
    <tr>
      <td><code>boostat</code></td>
      <td><code>10</code></td>
      <td>Boost at every nth step.</td>
    </tr>
    <tr>
      <td><code>maxboostedstep</code></td>
      <td><code>false</code></td>
      <td>Maximum step when boosted.</td>
    </tr>
    <tr>
      <td><code>mousewheel</code></td>
      <td><code>true</code></td>
      <td>Enables the mouse wheel to change the value of the input.</td>
    </tr>
    <tr>
      <td><code>buttondown_class</code></td>
      <td><code>'btn btn-primary'</code></td>
      <td>Class(es) of down button.</td>
    </tr>
    <tr>
      <td><code>buttonup_class</code></td>
      <td><code>'btn btn-primary'</code></td>
      <td>Class(es) of up button.</td>
    </tr>
    <tr>
      <td><code>buttondown_txt</code></td>
      <td><code>'-'</code></td>
      <td>Content inside the down button.</td>
    </tr>
    <tr>
      <td><code>buttonup_txt</code></td>
      <td><code>'+'</code></td>
      <td>Content inside the up button.</td>
    </tr>
    </tbody>
  </table>

  <h2>Events</h2>

  <h3>Triggered events</h3>

  <p>The following events are triggered on the original input by the plugin and can be listened on.</p>

  <table class="table table-striped table-bordered docs">
    <thead>
    <tr>
      <th>Event</th>
      <th>Description</th>
    </tr>
    </thead>
    <tbody>
    <tr>
      <td><code>change</code></td>
      <td>Triggered when the value is changed with one of the buttons (but not triggered when the spinner hits the
        limit set by <code>settings.min</code> or <code>settings.max</code>.
      </td>
    </tr>
    <tr>
      <td><code>touchspin.on.startspin</code></td>
      <td>Triggered when the spinner starts spinning upwards or downwards.</td>
    </tr>
    <tr>
      <td><code>touchspin.on.startupspin</code></td>
      <td>Triggered when the spinner starts spinning upwards.</td>
    </tr>
    <tr>
      <td><code>touchspin.on.startdownspin</code></td>
      <td>Triggered when the spinner starts spinning downwards.</td>
    </tr>
    <tr>
      <td><code>touchspin.on.stopspin</code></td>
      <td>Triggered when the spinner stops spinning.</td>
    </tr>
    <tr>
      <td><code>touchspin.on.stopupspin</code></td>
      <td>Triggered when the spinner stops upspinning.</td>
    </tr>
    <tr>
      <td><code>touchspin.on.stopdownspin</code></td>
      <td>Triggered when the spinner stops downspinning.</td>
    </tr>
    <tr>
      <td><code>touchspin.on.min</code></td>
      <td>Triggered when the spinner hits the limit set by <code>settings.min</code>.</td>
    </tr>
    <tr>
      <td><code>touchspin.on.max</code></td>
      <td>Triggered when the spinner hits the limit set by <code>settings.max</code>.</td>
    </tr>
    </tbody>
  </table>

  <h3>Callable events</h3>

  <p>The following events can be triggered on the original input.</p>

  <p>
    Example usages:<br>
    <code class="prettyprint">$("input").trigger("touchspin.uponce");</code><br>
    <code class="prettyprint">$("input").trigger("touchspin.updatesettings", {max: 1000});</code>
  </p>

  <table class="table table-striped table-bordered docs">
    <thead>
    <tr>
      <th>Event</th>
      <th>Description</th>
    </tr>
    </thead>
    <tbody>
    <tr>
      <td><code>touchspin.updatesettings</code></td>
      <td><code>function(newoptions)</code>: Update any setting of an already initialized TouchSpin instance.</td>
    </tr>
    <tr>
      <td><code>touchspin.uponce</code></td>
      <td>Increase the value by one step.</td>
    </tr>
    <tr>
      <td><code>touchspin.downonce</code></td>
      <td>Decrease the value by one step.</td>
    </tr>
    <tr>
      <td><code>touchspin.startupspin</code></td>
      <td>Starts the spinner upwards.</td>
    </tr>
    <tr>
      <td><code>touchspin.startdownspin</code></td>
      <td>Starts the spinner downwards.</td>
    </tr>
    <tr>
      <td><code>touchspin.stopspin</code></td>
      <td>Stops the spinner.</td>
    </tr>
    </tbody>
  </table>

  <h2>Download</h2>

  <p><a id="link-ghd" href="https://github.com/istvan-ujjmeszaros/bootstrap-touchspin" target="_blank">Download</a> from
    github. Please report issues and suggestions to github's issue tracker or contact me on
    <a id="link-gp" href="https://plus.google.com/101242556570448529330/posts" target="_blank">g+</a> or
    <a id="link-tw" href="https://twitter.com/styu007" target="_blank">twitter</a>!</p>

</div>

<script>
  prettyPrint();
</script>

</body>
</html>

Youez - 2016 - github.com/yon3zu
LinuXploit