Skip to content

Commit

Permalink
fix(module:popover): fix propertyName
Browse files Browse the repository at this point in the history
  • Loading branch information
Wendell committed Aug 13, 2019
1 parent 96f0eac commit 3617778
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions components/popover/nz-popover.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,11 @@ import { NzTooltipBaseComponentLegacy, NzToolTipComponent } from 'ng-zorro-antd/
export class NzPopoverComponent extends NzToolTipComponent {
_prefix = 'ant-popover-placement';

@Input() @ContentChild('neverUsedTemplate', { static: true }) nzPopoverTitle: NzTSType;
@Input() @ContentChild('nzTemplate', { static: true }) nzPopoverContent: NzTSType;
/**
* Use `neverUsedTemplate` to force `nzTemplate` to be catched by `nzPopoverContent`.
*/
@Input() @ContentChild('neverUsedTemplate', { static: true }) nzTitle: NzTSType;
@Input() @ContentChild('nzTemplate', { static: true }) nzContent: NzTSType;

constructor(cdr: ChangeDetectorRef, @Host() @Optional() public noAnimation?: NzNoAnimationDirective) {
super(cdr, noAnimation);
Expand Down

0 comments on commit 3617778

Please sign in to comment.