别这么刻薄,因为我是Angular新手。所以我有一个bootstrap下拉组件在我的项目,我想改变按钮的文本取决于点击链接。
在网上,我只碰到过JQuery的实现。
有人知道如何在Angularjs中做到这一点吗?提前谢谢。
Codepen沙箱
别这么刻薄,因为我是Angular新手。所以我有一个bootstrap下拉组件在我的项目,我想改变按钮的文本取决于点击链接。
在网上,我只碰到过JQuery的实现。
有人知道如何在Angularjs中做到这一点吗?提前谢谢。
Codepen沙箱