# j-Pin

> Zwyczajny PIN maker.

Framework: jcomponent20
Product: jComponent 20 (jcomponent@20)
Language: pl
Content-SHA256: 2ec58e5e6bb7a1ad3135e6ebb839e66f235571440fef6b8d48d6d38961eb9493
Snapshot: c0700e321579725c5cf4f5ace1ad7d2866d1b4f93c24a63c0b41b6b7998e976c
Sources: components@910ed1a86f6e72b4f031d3ad0dc7844f9fc5cb8e
Review: not-recorded

Zwyczajny PIN maker.


__Konfiguracja__:

- `count {Number}` liczba wpisów PIN (default: `6`)
- `required {Boolean}` umożliwia „potrzebne” (default: `false`)
- `disabled {Boolean}` może usunąć tę kontrolę
- `hide` {Boolean} nie pozwala na wyświetlanie liczb (default: `false`)
- `mask {Boolean}` wyłącza maskę (default: `true`)
- __NEW__ `exec {String}` droga do `function(pin)`
- __NEW__ `allowpaste {Boolean}` umożliwia pasowanie pinów (default: `true`)

__Dobrze wiedzieć__:

- Wkład bez wartości tworzy przestrzeń
- Oczekuje się `String`

__Metody__:

- `component.focus()` koncentruje się na pierwszym wejściu

Użyj go z `<ui-component name="pin">`Gdy element nie jest jeszcze ładowany, jComponent Pobierz go po pierwszym użyciu z adresu `DEF.fallback` (Wydaje się Componentator Autor: Peter Širka Źródło: Componentator Zestaw składników, licencja MIT.

```html example.html
<div style="padding:50px">
	<div style="width:200px">
		<div style="margin-bottom:5px">PIN 1</div>
		<ui-component name="pin" path="pinA" config="count:4"></ui-component>
	</div>
	<br />
	<div style="width:250px">
		<div style="margin-bottom:5px">PIN 2 (hide:true)</div>
		<ui-component name="pin" path="pinB" config="count:5;hide:true"></ui-component>
	</div>
	<br />
	<div style="width:300px">
		<div style="margin-bottom:5px">PIN 3 (visible)</div>
		<ui-component name="pin" path="pinC" config="count:6;mask:false"></ui-component>
	</div>
</div>
```
