PageSourceSearch

https://vue-number-format.netlify.app/assets/config.html-28573ebc.js

js vue-number-format.netlify.app collected 2026-10-03 11:35:47 UTC 4,984 bytes, 1 lines download raw bytes

1import{_ as l,M as d,p as o,q as r,Q as e,t as i,N as t,a1 as c}from"./framework-b02fa934.js";const n={},s=c('<h1 id="config" tabindex="-1"><a class="header-anchor" href="#config" aria-hidden="true">#</a> Config</h1><p>The following options can be passed as an object literal to the NumberFormat function.</p><h2 id="prefix" tabindex="-1"><a class="header-anchor" href="#prefix" aria-hidden="true">#</a> prefix</h2><p>A word, letter, or number placed before <code>value</code></p><ul><li>Type: <code>string</code></li><li>Default: <code>&#39;&#39;</code></li><li>Required: <code>false</code></li></ul><h2 id="suffix" tabindex="-1"><a class="header-anchor" href="#suffix" aria-hidden="true">#</a> suffix</h2><p>A word, letter, or number placed after <code>value</code></p><ul><li>Type: <code>string</code></li><li>Default: <code>&#39;&#39;</code></li><li>Required: <code>false</code></li></ul><h2 id="separator" tabindex="-1"><a class="header-anchor" href="#separator" aria-hidden="true">#</a> separator</h2><p>Character used as the thousands separator</p><ul><li>Type: <code>string</code></li><li>Default: <code>&#39;,&#39;</code></li><li>Required: <code>false</code></li></ul><h2 id="decimal" tabindex="-1"><a class="header-anchor" href="#decimal" aria-hidden="true">#</a> decimal</h2><p>Character used to separate the integer part from the fractional part of a number</p><ul><li>Type: <code>string</code></li><li>Default: <code>&#39;.&#39;</code></li><li>Required: <code>false</code></li></ul><h2 id="precision" tabindex="-1"><a class="header-anchor" href="#precision" aria-hidden="true">#</a> precision</h2><p>The precision property returns the number of bits of precision that can be represented.</p><ul><li>Type: <code>string</code></li><li>Default: <code>2</code></li><li>Required: <code>false</code></li></ul><h2 id="minimumfractiondigits" tabindex="-1"><a class="header-anchor" href="#minimumfractiondigits" aria-hidden="true">#</a> minimumFractionDigits</h2><p>The minimum number of digits after the decimal separator.</p><ul><li>Type: <code>string</code></li><li>Default: <code>false</code></li><li>Required: <code>false</code></li></ul><h2 id="prefill" tabindex="-1"><a class="header-anchor" href="#prefill" aria-hidden="true">#</a> prefill</h2><p>Set initial value before mount the component</p><ul><li>Type: <code>boolean</code></li><li>Default: <code>true</code></li><li>Required: <code>false</code></li></ul><h2 id="reversefill" tabindex="-1"><a class="header-anchor" href="#reversefill" aria-hidden="true">#</a> reverseFill</h2><p>Fills string from the right side of the mask</p><ul><li>Type: <code>boolean</code></li><li>Default: <code>false</code></li><li>Required: <code>false</code></li></ul><h2 id="masked" tabindex="-1"><a class="header-anchor" href="#masked" aria-hidden="true">#</a> masked</h2><p>Model will be masked (with contain separation characters)</p><div class="custom-container warning"><p class="custom-container-title">WARNING</p><p>Masking doesn&#39;t work with directive</p></div><ul><li>Type: <code>boolean</code></li><li>Default: <code>false</code></li><li>Required: <code>false</code></li></ul><h2 id="min" tabindex="-1"><a class="header-anchor" href="#min" aria-hidden="true">#</a> min</h2><p>The <code>min</code> attribute specifies the minimum value for an <code>&lt;input&gt;</code> element.</p><ul><li>Type: <code>string</code></li><li>Default: <code>false</code></li><li>Required: <code>false</code></li></ul><h2 id="max" tabindex="-1"><a class="header-anchor" href="#max" aria-hidden="true">#</a> max</h2><p>The <code>max</code> attribute specifies the maximum value for an <code>&lt;input&gt;</code> element.</p><ul><li>Type: <code>string</code></li><li>Default: <code>false</code></li><li>Required: <code>false</code></li></ul><h2 id="nullvalue" tabindex="-1"><a class="header-anchor" href="#nullvalue" aria-hidden="true">#</a> nullValue</h2><p>Value of <code>&lt;input&gt;</code> element is set to a default when no <code>value</code> present</p><ul><li>Type: <code>string</code></li><li>Default: <code>&#39;&#39;</code></li><li>Required: <code>false</code></li></ul><h2 id="inputmode" tabindex="-1"><a class="header-anchor" href="#inputmode" aria-hidden="true">
1#</a> inputmode</h2>',40),u={href:"https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/inputmode",target:"_blank",rel:"noopener noreferrer"},h=e("ul",null,[e("li",null,[i("Type: "),e("code",null,"string")]),e("li",null,[i("Default: "),e("code",null,"numeric")]),e("li",null,[i("Required: "),e("code",null,"false")])],-1);function p(f,m){const a=d("ExternalLinkIcon");return o(),r("div",null,[s,e("p",null,[i("The "),e("a",u,[i("inputmode"),t(a)]),i(" global attribute is an enumerated attribute that hints at the type of data that might be entered by the user while editing the element or its contents. This allows a browser to display an appropriate virtual keyboard.")]),h])}const g=l(n,[["render",p],["__file","config.html.vue"]]);export{g as default};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.