Skip to content

Commit bdb0329

Browse files
committed
Update README.md
1 parent d7f02c5 commit bdb0329

File tree

1 file changed

+15
-3
lines changed

1 file changed

+15
-3
lines changed

README.md

+15-3
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,18 @@ treeview component (beta)
1616
</u1-tree1>
1717
```
1818

19+
```css
20+
u1-tree1::part(row):hover {
21+
background:#00000004;
22+
}
23+
u1-tree1[aria-selected=true]::part(row) {
24+
background:#00000008;
25+
}
26+
u1-tree1::part(row):focus {
27+
outline:1px dotted;
28+
}
29+
```
30+
1931
## API
2032

2133
```js
@@ -32,9 +44,9 @@ el.toggleExpand(true/false);
3244
3345
## Demos
3446
35-
[custom.html](https://raw.githack.com/u1ui/tree1.el/main/tests/custom.html)
36-
[minimal.html](https://raw.githack.com/u1ui/tree1.el/main/tests/minimal.html)
37-
[test.html](https://raw.githack.com/u1ui/tree1.el/main/tests/test.html)
47+
[custom.html](http://gcdn.li/u1ui/tree1.el@main/tests/custom.html)
48+
[minimal.html](http://gcdn.li/u1ui/tree1.el@main/tests/minimal.html)
49+
[test.html](http://gcdn.li/u1ui/tree1.el@main/tests/test.html)
3850
3951
## Settings
4052

0 commit comments

Comments
 (0)