Skip to content

Commit

Permalink
add exportAs for the cgBusy directive
Browse files Browse the repository at this point in the history
release 19.1.0
  • Loading branch information
tiberiuzuld committed May 24, 2024
1 parent 9ccc7a3 commit 2f14633
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion projects/angular-busy2/src/lib/cgBusy.directive.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import { CgBusyOptions } from './cgBusy.interface';
import { CgBusyService } from './cgBusy.service';
import { CgBusyDefaults } from './cgBusyDefaults.service';

@Directive({selector: '[cgBusy]', standalone: true})
@Directive({selector: '[cgBusy]', standalone: true, exportAs: 'cgBusy'})
export class CgBusyDirective implements OnChanges, OnDestroy {
// eslint-disable-next-line @typescript-eslint/no-explicit-any
@Input() cgBusy: boolean | number | Promise<any> | Subscription | Observable<any> | (Promise<any> | Subscription | Observable<any>)[];
Expand Down

0 comments on commit 2f14633

Please sign in to comment.