Angular.js ng-repeat across multiple tr's

前端 未结 4 823
天命终不由人
天命终不由人 2020-12-08 09:12

I am using Angular.js for an application that uses hidden trs to simulate a sliding out effect by showing the tr and sliding down the div in the td below. This process worke

4条回答
  •  再見小時候
    2020-12-08 09:35

    Using ng-repeat on tbody appears to be valid see this post.

    Also a quick test through an html validator allowed multiple tbody elements in the same table.

    Update: As of at least Angular 1.2 there is an ng-repeat-start and ng-repeat-end to allow repeating a series of elements. See the documentation for more information and thanks to @Onite for the comment!

提交回复
热议问题