Skip to content

Commit

Permalink
refactor(module:graph): export nz-graph-zoom as nzGraphZoom (#6192)
Browse files Browse the repository at this point in the history
  • Loading branch information
Airblader authored Dec 15, 2020
1 parent 8b92cac commit 8d24ea6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion components/graph/graph-zoom.directive.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@ import { NzZoomTransform, RelativePositionInfo } from './interface';
Selection.bind('transition', d3Transition);

@Directive({
selector: '[nz-graph-zoom]'
selector: '[nz-graph-zoom]',
exportAs: 'nzGraphZoom'
})
export class NzGraphZoomDirective implements OnDestroy, AfterViewInit {
@Input() nzZoom?: number;
Expand Down

0 comments on commit 8d24ea6

Please sign in to comment.