File tree Expand file tree Collapse file tree 1 file changed +9
-5
lines changed Expand file tree Collapse file tree 1 file changed +9
-5
lines changed Original file line number Diff line number Diff line change @@ -126,10 +126,10 @@ export class UUIPaginationElement extends LitElement {
126
126
}
127
127
128
128
@queryAll ( 'uui-button.nav-button' )
129
- navButtons ! : Array < UUIButtonElement > ;
129
+ private navButtons ! : Array < UUIButtonElement > ;
130
130
131
131
@query ( '#group' )
132
- buttonGroup ! : any ;
132
+ private buttonGroup ! : any ;
133
133
134
134
/**
135
135
* This property is used to generate a proper `aria-label`. It will be announced by screen reader as: "<<this.label>>. Current page: <<this.current>>"
@@ -170,7 +170,7 @@ export class UUIPaginationElement extends LitElement {
170
170
}
171
171
172
172
@state ( )
173
- visiblePages : number [ ] = [ ] ;
173
+ private visiblePages : number [ ] = [ ] ;
174
174
175
175
protected _current = 1 ;
176
176
/**
@@ -192,22 +192,26 @@ export class UUIPaginationElement extends LitElement {
192
192
193
193
/**
194
194
* This method will change the page to a next one.
195
+ * @memberof UUIPaginationElement
195
196
*/
196
197
goToNextPage ( ) {
197
198
this . current ++ ;
198
199
this . dispatchEvent ( new UUIPaginationEvent ( UUIPaginationEvent . CHANGE ) ) ;
199
200
}
200
201
201
202
/**
202
- * This method will change the page to a previous one.
203
+ * Change the page to a previous one.
204
+ * @memberof UUIPaginationElement
203
205
*/
204
206
goToPreviousPage ( ) {
205
207
this . current -- ;
206
208
this . dispatchEvent ( new UUIPaginationEvent ( UUIPaginationEvent . CHANGE ) ) ;
207
209
}
208
210
209
211
/**
210
- * This method will change the page to the one passed as an argument to this method.
212
+ * Change the page to the one passed as an argument to this method.
213
+ * @param {number } page
214
+ * @memberof UUIPaginationElement
211
215
*/
212
216
goToPage ( page : number ) {
213
217
this . current = page ;
You can’t perform that action at this time.
0 commit comments