Skip to content

Commit 7bd9e47

Browse files
authored
Update index.html
1 parent 1295a12 commit 7bd9e47

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

demo/index.html

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,12 @@
3131

3232
<h1>UltraHTML Demo</h1>
3333

34+
<div class="ultra-context-menu">
35+
<div class="item" onclick="alert('📝 Edit clicked')">📝 Edit</div>
36+
<div class="item" onclick="alert('❌ Delete clicked')">❌ Delete</div>
37+
<div class="item" onclick="alert('🔗 Copy Link clicked')">🔗 Copy Link</div>
38+
</div>
39+
3440
<section class="demo-section">
3541
<h2>Buttons</h2>
3642
<button class="ultra-button button-wave">Wave Button</button>
@@ -92,6 +98,18 @@ <h2>Switches</h2>
9298
<input type="checkbox" class="ultra-switch-input" />
9399
<span class="ultra-switch-slider"></span>
94100
</label>
101+
<h2>Disabled Switch</h2>
102+
<label class="ultra-switch" disabled>
103+
<input type="checkbox" class="ultra-switch-input" disabled />
104+
<span class="ultra-switch-slider"></span>
105+
</label>
106+
</section>
107+
108+
<section class="demo-section">
109+
<h2>Right-click menu</h2>
110+
<section class="ultra-section">
111+
Right-click anywhere on this page to see the context menu.
112+
</section>
95113
</section>
96114
<script src="../dist/ultra.js" onload="Ultra.init()"></script>
97115
</body>

0 commit comments

Comments
 (0)