We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Perhaps at some point we need to look at some optimizations like these: https://www.binpress.com/tutorial/speeding-up-angular-js-with-simple-optimizations/135
The text was updated successfully, but these errors were encountered:
Taking a look through our code. http://stackoverflow.com/questions/26735629/angular-js-1-3-one-time-binding-in-ng-bind For reference: ng-bind also supports double colon :: syntax: <span ng-bind="::vm.title"></span>.
::
<span ng-bind="::vm.title"></span>
Sorry, something went wrong.
The same double colon syntax works for other expressions as well. http://stackoverflow.com/questions/23969926/angular-lazy-one-time-binding-for-expressions E.g. <span ng-if="::vm.shouldShow">Show me</span> evaluates once.
<span ng-if="::vm.shouldShow">Show me</span>
And double colons even work in ng-repeat: https://toddmotto.com/angular-one-time-binding-syntax/ <div ng-repeat="task in ::vm.tasks track by task._id">
ng-repeat
<div ng-repeat="task in ::vm.tasks track by task._id">
blootsvoets
No branches or pull requests
Perhaps at some point we need to look at some optimizations like these: https://www.binpress.com/tutorial/speeding-up-angular-js-with-simple-optimizations/135
The text was updated successfully, but these errors were encountered: