From cca30ff89a154ecad0ea8ec35762a2c678705a78 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?F=C3=A1bio=20Henriques?= Date: Tue, 29 May 2018 15:47:10 -0300 Subject: [PATCH] Updates readme methods --- README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/README.md b/README.md index 2497ebd2..08eef06a 100644 --- a/README.md +++ b/README.md @@ -368,6 +368,9 @@ If you want, we expose the `MaskService`. You can use it: * static toMask(type, value, settings): mask a value. _ `type` (String, required): the type of the mask (`cpf`, `datetime`, etc...) _ `value` (String, required): the value to be masked \* `settings` (Object, optional): if the mask type accepts options, pass it in the settings parameter +* static toRawValue(type, maskedValue, settings): get the raw value of a masked value. + _ `type` (String, required): the type of the mask (`cpf`, `datetime`, etc...) + _ `maskedValue` (String, required): the masked value to be converted in raw value \* `settings` (Object, optional): if the mask type accepts options, pass it in the settings parameter * static isValid(type, value, settings): validate if the mask and the value match. _ `type` (String, required): the type of the mask (`cpf`, `datetime`, etc...) _ `value` (String, required): the value to be masked \* `settings` (Object, optional): if the mask type accepts options, pass it in the settings parameter