File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -53,7 +53,7 @@ export class UUIPaginationElement extends LitElement {
53
53
` ,
54
54
] ;
55
55
56
- private observer = new ResizeObserver ( this . calculateRange . bind ( this ) ) ;
56
+ private _observer = new ResizeObserver ( this . _calculateRange . bind ( this ) ) ;
57
57
58
58
connectedCallback ( ) {
59
59
super . connectedCallback ( ) ;
@@ -62,14 +62,14 @@ export class UUIPaginationElement extends LitElement {
62
62
}
63
63
64
64
disconnectedCallback ( ) {
65
- this . observer . disconnect ( ) ;
65
+ this . _observer . disconnect ( ) ;
66
66
}
67
67
68
68
firstUpdated ( ) {
69
- this . observer . observe ( this . _pagesGroup ) ;
69
+ this . _observer . observe ( this . _pagesGroup ) ;
70
70
71
71
this . updateLabel ( ) ;
72
- this . calculateRange ( ) ;
72
+ this . _calculateRange ( ) ;
73
73
}
74
74
75
75
willUpdate ( changedProperties : Map < string | number | symbol , unknown > ) {
@@ -85,7 +85,7 @@ export class UUIPaginationElement extends LitElement {
85
85
} .`;
86
86
}
87
87
88
- private calculateRange ( ) {
88
+ private _calculateRange ( ) {
89
89
const containerWidth = this . offsetWidth ;
90
90
91
91
// get all the buttons with .nav-button class and sum up their widths
You can’t perform that action at this time.
0 commit comments