Skip to content

Commit 65c8afd

Browse files
🚿 Add comment
1 parent 14493b7 commit 65c8afd

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/class/HTMLCodeBlockElement.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ export default class HTMLCodeBlockElement extends HTMLElement {
2424
throw new TypeError('The syntax highlighting engine is not set to `HTMLCodeBlockElement.highlight`.');
2525
};
2626

27+
/** Slot elements for Shadow DOM content */
2728
#slots = (() => {
2829
/**
2930
* @param name - The value of name attribute for the slot element
@@ -47,9 +48,13 @@ export default class HTMLCodeBlockElement extends HTMLElement {
4748
code: mkslot('code'),
4849
};
4950
})();
51+
/** Pure DOM content */
5052
#a11yName: HTMLElement;
53+
/** Pure DOM content */
5154
#copyButton: HTMLButtonElement;
55+
/** Pure DOM content */
5256
#codeBlock: HTMLElement;
57+
/** Pure DOM content */
5358
#codeWrap: HTMLPreElement;
5459
/** Actual value of the accessor `value` */
5560
#value: string = '';

0 commit comments

Comments
 (0)