Interviewer And Interviewee Guide

Front End Developer (AngularJS) Interview Question:

Explain how will you show/hide buttons and enable/disable buttons conditionally?

Submitted by: Muhammad
Using the ng-show and ng-disabled directives.

<div class="dataControlPanel"
ng-show="accounts.releasePortfolios">

<div class="dataControlButtons">
<button class="btn btn-primary btn-small"
ng-click="saveComments()" ng-disabled="disableSaveButton">Save</button>
<button class="btn btn-primary btn-small"
ng-click="releaseRun()" ng-disabled="disableReleaseButton">Release</button>
</div>
</div>
Submitted by: Muhammad

Read Online Front End Developer (AngularJS) Job Interview Questions And Answers
Copyright 2007-2024 by Interview Questions Answers .ORG All Rights Reserved.
https://InterviewQuestionsAnswers.ORG.