Skip to content

Commit c1ff424

Browse files
committed
chore(outline-jump-nav): update docs
1 parent fe5b52c commit c1ff424

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

packages/outline-jump-nav/src/outline-jump-nav.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -210,6 +210,8 @@ export class OutlineJumpNav extends OutlineElement {
210210
anchor.id = `${jump[0]}-jump`;
211211
anchor.setAttribute('href', `#${jump[0]}`);
212212
anchor.setAttribute('aria-label', `scroll to ${jump[1]}`);
213+
214+
// insert your preferred string processing here
213215
anchor.innerText = jump[1].toUpperCase();
214216

215217
li.appendChild(anchor);
@@ -224,6 +226,8 @@ export class OutlineJumpNav extends OutlineElement {
224226
Object.entries(this.jumps).forEach(jump => {
225227
const option = document.createElement('option');
226228
option.setAttribute('value', `${jump[0]}`);
229+
230+
// insert your preferred string processing here
227231
option.innerText = `${jump[1]}`.toUpperCase();
228232
this.select.appendChild(option);
229233
});

0 commit comments

Comments
 (0)