-
Notifications
You must be signed in to change notification settings - Fork 1.8k
/
Copy pathindex.html
60 lines (58 loc) · 2.01 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<title>Popover API examples</title>
</head>
<body>
<h1>MDN Popover API examples</h1>
<p>
This set of examples demonstrates usage of the
<a href="https://developer.mozilla.org/en-US/docs/Web/API/Popover_API"
>Popover API</a
>
(also see the
<a href="https://html.spec.whatwg.org/multipage/popover.html"
>specification</a
>).
</p>
<ul>
<li>
<a href="basic-declarative/">Basic declarative popover example</a>:
Demonstrates a basic auto state popover.
</li>
<li>
<a href="blur-background/">Blur background popover example</a>: Shows how
you can add styling to the content behind the popover using the
<code>::backdrop</code> pseudo-element.
</li>
<li>
<a href="multiple-auto/">Multiple auto popovers example</a>: Demonstrates
that, generally, only one auto popover can be displayed at once.
</li>
<li>
<a href="multiple-manual/">Multiple manual popovers example</a>:
Demonstrates that multiple manual popovers can be displayed at once, bt
they can't be light-dismissed.
</li>
<li>
<a href="nested-popovers/">Nested popover menu example</a>: Demonstrates
the behavior of nested auto state popovers.
</li>
<li>
<a href="popover-positioning/">Popover positioning example</a>: An
isolated example showing CSS overriding of the default popover positioning
specified by the UA sylesheet.
</li>
<li>
<a href="toggle-help-ui/">Toggle help UI example</a>: Shows the basics of
using JavaScript to control popover showing and hiding.
</li>
<li>
<a href="toast-popovers/">Toast popovers example</a>: Illustrates how to
make a simple system of "toast" notifications with popovers, which
automatically hide again after a certain time.
</li>
</ul>
</body>
</html>