dphelper 3.2.1 → 3.2.3

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.
Files changed (51) hide show
  1. package/docs/SUMMARY.md +54 -0
  2. package/docs/tools/ai.md +25 -0
  3. package/docs/tools/anchor.md +33 -0
  4. package/docs/tools/array.md +36 -0
  5. package/docs/tools/audio.md +30 -0
  6. package/docs/tools/avoid.md +28 -0
  7. package/docs/tools/browser.md +45 -0
  8. package/docs/tools/check.md +24 -0
  9. package/docs/tools/color.md +28 -0
  10. package/docs/tools/cookie.md +27 -0
  11. package/docs/tools/coords.md +28 -0
  12. package/docs/tools/credits.md +28 -0
  13. package/docs/tools/date.md +44 -0
  14. package/docs/tools/disable.md +28 -0
  15. package/docs/tools/dispatch.md +26 -0
  16. package/docs/tools/element.md +25 -0
  17. package/docs/tools/event.md +27 -0
  18. package/docs/tools/form.md +49 -0
  19. package/docs/tools/format.md +25 -0
  20. package/docs/tools/json.md +28 -0
  21. package/docs/tools/load.md +26 -0
  22. package/docs/tools/logging.md +27 -0
  23. package/docs/tools/math.md +28 -0
  24. package/docs/tools/memory.md +25 -0
  25. package/docs/tools/navigation.md +43 -0
  26. package/docs/tools/net.md +24 -0
  27. package/docs/tools/obj.md +34 -0
  28. package/docs/tools/path.md +46 -0
  29. package/docs/tools/promise.md +24 -0
  30. package/docs/tools/sanitize.md +24 -0
  31. package/docs/tools/screen.md +25 -0
  32. package/docs/tools/scrollbar.md +29 -0
  33. package/docs/tools/security.md +32 -0
  34. package/docs/tools/shortcut.md +24 -0
  35. package/docs/tools/socket.md +29 -0
  36. package/docs/tools/svg.md +29 -0
  37. package/docs/tools/sync.md +25 -0
  38. package/docs/tools/system.md +32 -0
  39. package/docs/tools/terminal.md +28 -0
  40. package/docs/tools/text.md +28 -0
  41. package/docs/tools/timer.md +25 -0
  42. package/docs/tools/tools.md +26 -0
  43. package/docs/tools/translators.md +24 -0
  44. package/docs/tools/trigger.md +26 -0
  45. package/docs/tools/type.md +27 -0
  46. package/docs/tools/ui.md +45 -0
  47. package/docs/tools/window.md +30 -0
  48. package/dphelper.umd.js +16 -16
  49. package/index.js +16 -16
  50. package/package.json +1 -1
  51. package/types/dphelper.d.ts +0 -656
@@ -0,0 +1,27 @@
1
+ # type
2
+
3
+ Utilities for type checking.
4
+
5
+ ## Functions
6
+
7
+ | Function | Description | Example |
8
+ |----------|-------------|---------|
9
+ | `of` | Returns the type of the parameter | `dphelper.type.of()` |
10
+ | `instOfObj` | Checks if a value is an instance of an Object | `dphelper.type.instOfObj()` |
11
+ | `isNaN` | Checks if a value is NaN | `dphelper.type.isNaN()` |
12
+ | `isBool` | Checks if a value is a boolean | `dphelper.type.isBool()` |
13
+
14
+ ## Description
15
+
16
+ Tool for checking JavaScript data types.
17
+
18
+ ## Details
19
+
20
+ - **Author:** Dario Passariello
21
+ - **Version:** 0.0.1
22
+ - **Creation Date:** 20210101
23
+ - **Last Modified:** 20210101
24
+
25
+ ---
26
+
27
+ *Automatically generated document*
@@ -0,0 +1,45 @@
1
+ # UI
2
+
3
+ User Interface components and Debugging tools.
4
+
5
+ ## Debugging Tools
6
+
7
+ | Function | Description | Example |
8
+ |----------|-------------|---------|
9
+ | `fps` | Toggles a real-time FPS and Memory monitor overlay | `dphelper.UI.fps(true)` |
10
+ | `boxModel` | Toggles visual box-model highlighter for all elements | `dphelper.UI.boxModel(true)` |
11
+
12
+ ## Base Components
13
+
14
+ - `input`, `button`, `textarea`, `select`, `code` (Work in progress)
15
+
16
+ ## Description
17
+
18
+ The UI module provides both functional interface components and developer-oriented inspection tools to monitor application health and layout.
19
+
20
+ ## Usage Examples
21
+
22
+ ### Performance Monitoring
23
+
24
+ ```javascript
25
+ // Shows FPS and RAM usage on screen
26
+ dphelper.UI.fps(true);
27
+ ```
28
+
29
+ ### Layout Debugging
30
+
31
+ ```javascript
32
+ // Highlights borders of all elements on the page
33
+ dphelper.UI.boxModel(true);
34
+ ```
35
+
36
+ ## Details
37
+
38
+ - **Author:** Dario Passariello & Jo
39
+ - **Version:** 0.0.2
40
+ - **Creation Date:** 20210101
41
+ - **Last Modified:** 20260220
42
+
43
+ ---
44
+
45
+ *Automatically generated document*
@@ -0,0 +1,30 @@
1
+ # window
2
+
3
+ Advanced browser window functionality.
4
+
5
+ ## Functions
6
+
7
+ | Function | Description | Example |
8
+ |----------|-------------|---------|
9
+ | `enhancement` | Enhances the global window object | `dphelper.window.enhancement()` |
10
+ | `center` | Centers a popup window on the screen | `dphelper.window.center({ url, title, name, w, h })` |
11
+ | `onBeforeUnLoad` | Displays a message before leaving the site | `dphelper.window.onBeforeUnLoad()` |
12
+ | `purge` | Performs memory purging | `dphelper.window.purge()` |
13
+ | `stopZoomWheel` | Disables zooming via the mouse wheel | `dphelper.window.stopZoomWheel(e)` |
14
+ | `setZoom` | Sets the window zoom level | `dphelper.window.setZoom()` |
15
+ | `getZoom` | Gets the current window zoom level | `dphelper.window.getZoom()` |
16
+
17
+ ## Description
18
+
19
+ Tool for advanced browser window management: popups, zoom control, memory purging, and exit confirmations.
20
+
21
+ ## Details
22
+
23
+ - **Author:** Dario Passariello
24
+ - **Version:** 0.0.1
25
+ - **Creation Date:** 20210101
26
+ - **Last Modified:** 20230527
27
+
28
+ ---
29
+
30
+ *Automatically generated document*