Releases: metonym/svelte-pincode
Releases · metonym/svelte-pincode
v1.2.0
Features
- ship unstyled Pincode components (available in the
svelte-pincode/src/unstyled
folder)
<script>
import Pincode from "svelte-pincode/src/unstyled/Pincode.svelte";
import PincodeInput from "svelte-pincode/src/unstyled/PincodeInput.svelte";
</script>
v1.1.1
Fixes
- use default behavior for Tab key
v1.1.0
- add Pincode
selectTextOnFocus
prop to select the text when focusing the input element
v1.0.0
Features
- add Pincode
type
prop; default value is "alphanumeric"
- support numeric variant by setting
type="numeric"
- add reactive Pincode
complete
prop
- remove forwarded
input
event from PincodeInput
Fixes
- fix the incorrect value being dispatched in the
on:complete
event detail
v0.2.0
- Add
focusFirstInput
, focusNextEmptyInput
, focusLastInput
methods