Skip to content

Commit

Permalink
refactor(module:dropdown): refactor control flow component (#8327)
Browse files Browse the repository at this point in the history
  • Loading branch information
Nicoss54 committed Jan 3, 2024
1 parent aaff6b8 commit 74c4707
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions components/dropdown/demo/placement.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { NzPlacementType } from 'ng-zorro-antd/dropdown';
selector: 'nz-demo-dropdown-placement',
template: `
<div>
<ng-container *ngFor="let position of listOfPosition">
@for (position of listOfPosition; track position) {
<button nz-button nz-dropdown [nzDropdownMenu]="menu" [nzPlacement]="position">{{ position }}</button>
<nz-dropdown-menu #menu="nzDropdownMenu">
<ul nz-menu>
Expand All @@ -15,7 +15,7 @@ import { NzPlacementType } from 'ng-zorro-antd/dropdown';
<li nz-menu-item>3rd menu item length</li>
</ul>
</nz-dropdown-menu>
</ng-container>
}
</div>
`,
styles: [
Expand Down

0 comments on commit 74c4707

Please sign in to comment.