Home  >  Article  >  Backend Development  >  How does angularjs pass parameters for the ng-click event?

How does angularjs pass parameters for the ng-click event?

零下一度
零下一度Original
2017-06-23 15:09:191364browse

In angularjs development, we need to pass a parameter for the ng-click event.

In js, you can receive parameters:

Demo:

The above is the detailed content of How does angularjs pass parameters for the ng-click event?. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn