What is the equivalent annotation for the old map/@attr in AngularDart?

后端 未结 1 1700
半阙折子戏
半阙折子戏 2020-12-17 04:18

The AngularDart tutorial (at of the time of this writing), recommends binding component fields to attributes like this:



        
1条回答
  •  春和景丽
    2020-12-17 05:04

    I think @NgAttr is what you are looking for.

    For callbacks there is also @NgCallback == & - just to complete your list.

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