Angular2 Component which renders 2 tr elements in a loop

后端 未结 1 1896
一向
一向 2021-01-21 04:28

I need to write a component that has a template that looks like this:

...
...

This must be used with

1条回答
  •  [愿得一人]
    2021-01-21 05:05

    Suggestion as per comment, not tested.

    Component selector: [spot-row]

    Component template:

    ...
    ...
    

    HTML:

    This should produce:

    ............ ...

    Which is valid (multiple in

    ).

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