From 6935851c71bbb52d66ec7ae253ddf9922f46bb82 Mon Sep 17 00:00:00 2001 From: Sven Minio Date: Sun, 17 May 2026 19:59:30 +0200 Subject: [PATCH] Add EVENTS Lifecycle --- EVENTS-Lifecycle.md | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 EVENTS-Lifecycle.md diff --git a/EVENTS-Lifecycle.md b/EVENTS-Lifecycle.md new file mode 100644 index 0000000..2ee4f36 --- /dev/null +++ b/EVENTS-Lifecycle.md @@ -0,0 +1,25 @@ +* [`ready`](#usage-ready) + +--- + +## .ready + +**Description** +Specify a function to execute when the DOM is fully loaded. + +**Parameters** + +* `handler` (Function): A function to execute after the DOM is ready. + +**Returns** + +* (jBase): Current instance. + +**Example** + +```javascript +$(document).ready(function() { + console.log('DOM is ready!'); +}); + +``` \ No newline at end of file