Skip to content

Commit 28b8f42

Browse files
authored
docs: Update README (#18)
- List more classes to be used for styling - Fix skip-list `to` demo format
1 parent 4dae925 commit 28b8f42

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

Diff for: README.md

+9-1
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ export default {
7878

7979
To use multiple links, simply pass an array into the `to` prop with the following shape:
8080

81-
```json
81+
```js
8282
[
8383
{
8484
"anchor": "<STRING>", // destination id
@@ -152,6 +152,14 @@ Override the default styles by targeting the following:
152152
```css
153153
.vue-skip-to {
154154
}
155+
.vue-skip-to__link {
156+
}
157+
.vue-skip-to__nav {
158+
}
159+
.vue-skip-to__nav-list {
160+
}
161+
.vue-skip-to__nav-list-item {
162+
}
155163
```
156164

157165
## Running tests

0 commit comments

Comments
 (0)