File tree Expand file tree Collapse file tree 1 file changed +2
-16
lines changed
Expand file tree Collapse file tree 1 file changed +2
-16
lines changed Original file line number Diff line number Diff line change @@ -5,33 +5,19 @@ This guide will show you how to drop UltraHTML into your project and get fancy b
55
66---
77
8- ## 📦 1. Include the Files
8+ ## 📦 1. Include the Files and initialize UltraHTML
99
1010No builds, no bundlers — just link the files directly.
1111
1212``` html
1313<link rel =" stylesheet" href =" dist/ultra.css" />
14- <script src =" dist/ultra.js" defer ></script >
14+ <script src =" dist/ultra.js" onload = " Ultra.init() " defer ></script >
1515````
1616
1717Make sure `ultra.js` is loaded after the DOM (`defer` or load it at the bottom).
1818
1919---
2020
21- ## 🚀 2. Initialize UltraHTML
22-
23- Run this **once** after your page loads:
24-
25- ```html
26- <script >
27- Ultra .init ();
28- </script >
29- ```
30-
31- It sets up ripple effects, tab switching, and chip dismissal.
32-
33- ---
34-
3521## 🖱️ 3. Use Components
3622
3723### ✅ Buttons
You can’t perform that action at this time.
0 commit comments