javascript - Angualr JS: Fire an event on editable-text change -
i have editable text, want fire event when values changing not after changed. e-ng-change
fire when value changed.
<span editable-text="user.displayname" onbeforesave="checkname($data)" e-ng-change="checkname" e-form="userdisplayname" edit-disabled="{{!user.displayname}}" e-maxlength="50" e-required ng-disabled="uiselectform.$waiting" onaftersave="updateuserprofile(true)">{{user.displayname}}</span> <a ng-click="userdisplayname.$show()" ng-hide="isvisitor || userdisplayname.$visible" > <span class="fa fa-pencil pencil-color"></span> </a>
Comments
Post a Comment