gpt4 book ai didi

javascript - 如何在 AngularJS 中调用 ng-change 上的多个函数?

转载 作者:行者123 更新时间:2023-12-03 06:56:51 25 4
gpt4 key购买 nike

ng-change = "ControllerName.functionName()"

这里我想再添加一个功能。我怎样才能做到这一点?

提前致谢。

最佳答案

这应该可以解决问题:

ng-change = "ControllerName.functionName(); ControllerName.anotherFunction();"

关于javascript - 如何在 AngularJS 中调用 ng-change 上的多个函数?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/39698510/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com