Angular2 - recursive html without making a new component?

前端 未结 1 804
没有蜡笔的小新
没有蜡笔的小新 2021-02-06 04:30

In angular 1 I was able to do something like:



        
1条回答
  •  北荒
    北荒 (楼主)
    2021-02-06 05:08

    There certainly is a html only solution in Angular:

    Angular 2 Recursive List

    • {{item.title}}

    Here's a gist.

    0 讨论(0)
提交回复
热议问题