UNPKG

@progress/kendo-angular-pager

Version:
33 lines (32 loc) 1.67 kB
/**----------------------------------------------------------------------------------------- * Copyright © 2025 Progress Software Corporation. All rights reserved. * Licensed under commercial license. See LICENSE.md in the project root for more information *-------------------------------------------------------------------------------------------*/ import { ElementRef, OnDestroy, OnInit, Renderer2 } from '@angular/core'; import { PagerNavigationService } from './navigation.service'; import * as i0 from "@angular/core"; /** * Represents the Kendo UI Pager focusable directive for Angular. Apply this directive to custom focusable elements in the [`kendoPagerTemplate`]({% slug api_pager_pagertemplatedirective %}) to include them in the built-in Pager keyboard navigation. * * @example * ```html * <kendo-pager [skip]="skip" [pageSize]="pageSize" [total]="total"> * <ng-template kendoPagerTemplate> * <button kendoPagerFocusable type="button">Custom Button</button> * </ng-template> * </kendo-pager> * ``` */ export declare class PagerFocusableDirective implements OnInit, OnDestroy { private navigationService; private element; private renderer; private subscriptions; constructor(navigationService: PagerNavigationService, element: ElementRef, renderer: Renderer2); ngOnInit(): void; ngOnDestroy(): void; private get nativeElement(); private innerNavigationChange; static ɵfac: i0.ɵɵFactoryDeclaration<PagerFocusableDirective, never>; static ɵdir: i0.ɵɵDirectiveDeclaration<PagerFocusableDirective, "[kendoPagerFocusable]", ["kendoPagerFocusable"], {}, {}, never, never, true, never>; }