AngularDart中map:const{&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&?
我看到它显示了如何绑定到包含函数的字段:AngularDart中map:const{&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&?,dart,angular-dart,Dart,Angular Dart,我看到它显示了如何绑定到包含函数的字段: @NgComponent( 选择器:“mycomp”, 出版物:“ctrl”, 地图:康斯特{ “myfunc”:“&myfunc” } ) 类MyComponent{ 函数myfunc; 但是,建议使用注释来声明绑定哪些字段以及如何绑定。我看到了@NgOneWay(=>)和其他内容,但没有看到&myfunc的注释 我应该使用什么注释?好的,刚才看到您为这个问题创建了一个新问题: 对于回调和使用
@NgComponent(
选择器:“mycomp”,
出版物:“ctrl”,
地图:康斯特{
“myfunc”:“&myfunc”
}
)
类MyComponent{
函数myfunc;
但是,建议使用注释来声明绑定哪些字段以及如何绑定。我看到了@NgOneWay
(=>
)和其他内容,但没有看到&myfunc
的注释
我应该使用什么注释?好的,刚才看到您为这个问题创建了一个新问题: 对于回调
和使用