使用 angularjs 向号码发送短信
send sms to a number using angularjs
我已使用此代码在我的移动应用程序中使用 angularjs 发送短信。 <a ng-href={{'sms:'+data.mobile1}}><i class="material-icons">message</i></a>
但它不起作用。有人可以帮助我吗?
您必须按以下方式绑定到 ng-href
ng-href="sms:{{data.mobile1}}"
"sms:{{data.mobile1}}"
应该在引号内。
我已使用此代码在我的移动应用程序中使用 angularjs 发送短信。 <a ng-href={{'sms:'+data.mobile1}}><i class="material-icons">message</i></a>
但它不起作用。有人可以帮助我吗?
您必须按以下方式绑定到 ng-href
ng-href="sms:{{data.mobile1}}"
"sms:{{data.mobile1}}"
应该在引号内。