File tree Expand file tree Collapse file tree 1 file changed +20
-2
lines changed
projects/igniteui-angular/src/lib/grids Expand file tree Collapse file tree 1 file changed +20
-2
lines changed Original file line number Diff line number Diff line change @@ -445,7 +445,16 @@ export class IgxGridBaseDirective extends DisplayDensityBase implements
445445 }
446446
447447 /**
448- *@hidden @internal
448+ * Emitted after the current page is changed.
449+ * @example
450+ * ```html
451+ * <igx-grid (pageChange)="onPageChange($event)"></igx-grid>
452+ * ```
453+ * ```typescript
454+ * public onPageChange(page: number) {
455+ * this.currentPage = page;
456+ * }
457+ * ```
449458 */
450459 @Output ( )
451460 public pageChange = new EventEmitter < number > ( ) ;
@@ -477,7 +486,16 @@ export class IgxGridBaseDirective extends DisplayDensityBase implements
477486 }
478487
479488 /**
480- *@hidden @internal
489+ * Emitted when `perPage` property value of the grid is changed.
490+ * @example
491+ * ```html
492+ * <igx-grid #grid (perPageChange)="onPerPageChange($event)" [autoGenerate]="true"></igx-grid>
493+ * ```
494+ * ```typescript
495+ * public onPerPageChange(perPage: number) {
496+ * this.perPage = perPage;
497+ * }
498+ * ```
481499 */
482500 @Output ( )
483501 public perPageChange = new EventEmitter < number > ( ) ;
You can’t perform that action at this time.
0 commit comments