mirror of https://github.com/abpframework/abp
parent
9f002787f0
commit
6b7f2ae2ca
@ -0,0 +1,12 @@
|
||||
import { Directive, ElementRef, Input, Optional, Self } from '@angular/core';
|
||||
import { Table } from 'primeng/table';
|
||||
|
||||
@Directive({
|
||||
selector: '[abpSort]',
|
||||
})
|
||||
export class SortDirective {
|
||||
constructor(private elementRef: ElementRef, @Optional() @Self() table: Table) {
|
||||
console.warn(elementRef);
|
||||
setInterval(() => console.warn(table.value), 1000);
|
||||
}
|
||||
}
|
Loading…
Reference in new issue