Ts Nano FormDocsExamples

Getting Started

  • Introduction
  • Quick Start
  • Form
  • Store
  • Mask
  • Money

Configuration

  • Options

API Nano Form

  • NanoForm
  • CreateForm
  • GetForm
  • Mask
  • Unmask
  • MaskMoney
  • UnmaskMoney
  • GetPlaceholder

API Form

  • Submit
  • Field
  • GetIsValid
  • GetValue
  • GetValueStore
  • GetMasked
  • GetUnmasked
  • GetMoneyMasked
  • GetMoneyUnmasked
  • GetError
  • GetErrorStore
  • GetValues
  • GetErrors
  • SetValue
  • SetMasked
  • SetUnmasked
  • SetMoneyMasked
  • SetError
  • SubscribeValue
  • SubscribeError
  • SubscribeAllValues
  • SubscribeAllErrors
  • Reset
  • ResetValues
  • ResetErrors
  • ClearValues

API Store

  • CreateStore
  • Set
  • Get
  • Emit
  • Subscribe

UnmaskMoney

Unmask money text

unmaskMoney(value: string, moneyOptions?: MoneyOptions)
import TsNanoForm from "./nanoForm";

const { unmaskMoney } = TsNanoForm;
const umasked = unmaskMoney("1.234,56");
//123456

© TS Nano Form