@sankhyalabs/core-docs 2.4.2 → 2.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,46 @@
1
+ [@sankhyalabs/core](../README.md) / [Exports](../modules.md) / JSUtils
2
+
3
+ # Class: JSUtils
4
+
5
+ Classe com utiliários comuns para funções genéricas em JavaScript.
6
+
7
+ ## Table of contents
8
+
9
+ ### Constructors
10
+
11
+ - [constructor](JSUtils.md#constructor)
12
+
13
+ ### Methods
14
+
15
+ - [debounce](JSUtils.md#debounce)
16
+
17
+ ## Constructors
18
+
19
+ ### constructor
20
+
21
+ • **new JSUtils**()
22
+
23
+ ## Methods
24
+
25
+ ### debounce
26
+
27
+ ▸ `Static` **debounce**(`callback`, `timeout?`): `any`
28
+
29
+ Método responsável em criar um timer para processar uma determinada função.
30
+
31
+ #### Parameters
32
+
33
+ | Name | Type | Default value | Description |
34
+ | :------ | :------ | :------ | :------ |
35
+ | `callback` | `any` | `undefined` | Função de callback para processar após o timer. |
36
+ | `timeout` | `number` | `300` | Valor dos milissegundos desejados para processar a função (o padrão é 300). |
37
+
38
+ #### Returns
39
+
40
+ `any`
41
+
42
+ - Retorna um método com controle de timer para processar a função de callback.
43
+
44
+ #### Defined in
45
+
46
+ src/utils/JSUtils.ts:14
package/modules.md CHANGED
@@ -31,6 +31,7 @@
31
31
  - [ErrorTracking](classes/ErrorTracking.md)
32
32
  - [FloatingManager](classes/FloatingManager.md)
33
33
  - [HttpProvider](classes/HttpProvider.md)
34
+ - [JSUtils](classes/JSUtils.md)
34
35
  - [MaskFormatter](classes/MaskFormatter-1.md)
35
36
  - [NumberUtils](classes/NumberUtils.md)
36
37
  - [ObjectUtils](classes/ObjectUtils.md)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sankhyalabs/core-docs",
3
- "version": "2.4.2",
3
+ "version": "2.5.0",
4
4
  "description": "Documentação da biblioteca de componentes Sankhya.",
5
5
  "main": "",
6
6
  "files": [