UNPKG

ng-jhipster

Version:

A Jhipster util library for Angular 2

16 lines (15 loc) 577 B
import { ElementRef, Renderer, AfterViewInit } from '@angular/core'; import { JhiSortDirective } from './sort.directive'; import { JhiConfigService } from '../config.service'; export declare class JhiSortByDirective implements AfterViewInit { private el; private renderer; jhiSortBy: string; sortAscIcon: string; sortDescIcon: string; jhiSort: JhiSortDirective; constructor(jhiSort: JhiSortDirective, el: ElementRef, renderer: Renderer, configService: JhiConfigService); ngAfterViewInit(): void; onClick(): void; private applyClass(); }