dcsimg
 

Submitted by: Srinath M S(srinath_ms@yahoo.com)

Friday Feb 28th 2020 by Srinath M S

Language: Web, Expertise: Intermediate: See an example of how to add the check along with the function call.

Add the check along with the function call, as in the example below.

<iv ng-click="user.IsAdmin () && clickFunction()">Admin Function </div>
Home
Mobile Site | Full Site