We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8245b85 commit d08304eCopy full SHA for d08304e
examples/index.html
@@ -4,8 +4,15 @@
4
<meta charset="utf-8" />
5
<title>text-expander demo</title>
6
<style>
7
- [aria-selected='true'] {
8
- background: #eee;
+ .menu {
+ position: absolute;
9
+ list-style-type: none;
10
+ padding: 0;
11
+ background: lightgray;
12
+
13
+ [aria-selected='true'] {
14
+ background: #eee;
15
+ }
16
}
17
</style>
18
</head>
@@ -30,6 +37,7 @@ <h2>Multiword text-expander element</h2>
30
37
const {key, provide, text} = event.detail
31
38
if (key === '#') {
32
39
const menu = document.createElement('ul')
40
+ menu.classList.add('menu')
33
41
menu.role = 'listbox'
34
42
for (const issue of [
35
43
'#1 Implement a text-expander element',
0 commit comments