File tree Expand file tree Collapse file tree 2 files changed +13
-0
lines changed Expand file tree Collapse file tree 2 files changed +13
-0
lines changed Original file line number Diff line number Diff line change 26
26
- requireReturn : false
27
27
requireParamType : false
28
28
requireReturnType : false
29
+ lines-between-class-members :
30
+ - error
31
+ - always
Original file line number Diff line number Diff line change @@ -51,22 +51,31 @@ export default class HTMLCodeBlockElement extends HTMLElement {
51
51
code : mkslot ( 'code' ) ,
52
52
} ;
53
53
} ) ( ) ;
54
+
54
55
/** Pure DOM content */
55
56
#a11yName: HTMLElement ;
57
+
56
58
/** Pure DOM content */
57
59
#copyButton: HTMLButtonElement ;
60
+
58
61
/** Pure DOM content */
59
62
#codeBlock: HTMLElement ;
63
+
60
64
/** Pure DOM content */
61
65
#codeWrap: HTMLPreElement ;
66
+
62
67
/** Actual value of the accessor `value` */
63
68
#value: string = '' ;
69
+
64
70
/** Actual value of the accessor `label` */
65
71
#label: string = '' ;
72
+
66
73
/** Actual value of the accessor `language` */
67
74
#language: string = '' ;
75
+
68
76
/** Actual value of the accessor `controls` */
69
77
#controls: boolean = false ;
78
+
70
79
/** Click event handler of copy button */
71
80
#onClickButton = ( ( ) => {
72
81
let key = - 1 ;
@@ -105,6 +114,7 @@ export default class HTMLCodeBlockElement extends HTMLElement {
105
114
} , 1500 ) ;
106
115
} ;
107
116
} ) ( ) ;
117
+
108
118
/**
109
119
* Outputs the resulting syntax-highlighted markup to the DOM.
110
120
* @param this - instance
You can’t perform that action at this time.
0 commit comments