Skip to content

[article] adds simple-accordion-reactive#59

Open
rxjs-space wants to merge 20 commits intoangular-bbs:masterfrom
rxjs-space:simple-accordion-reactive
Open

[article] adds simple-accordion-reactive#59
rxjs-space wants to merge 20 commits intoangular-bbs:masterfrom
rxjs-space:simple-accordion-reactive

Conversation

@rxjs-space
Copy link
Contributor

No description provided.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

一样可以用 *ngFor 的,加个 ng-container 就好了,类似于:

<ng-container *ngFor="let panel of panels">
    <div class="card-header">...</div>
    <div class="card-block">...</div>
</ng-container>

可以参考我的 Demo:http://embed.plnkr.co/KQLgHjAgL7BAcevUEIw2/

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这个直观,改用ng-container。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Comments