You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 12, 2024. It is now read-only.
Creates a binding that will innerHTML the result of evaluating the expression into the current element in a secure way.
"Creates a binding that will innerHTML"? innerHTML isn't a verb, so this doesn't read well. It should probably be changed to language more like ngBind
The ngBindHtml attribute tells Angular to replace the inner HTML content of the specified HTML element with the value of a given expression, and to update the inner HTML content when the value of that expression changes.
The text was updated successfully, but these errors were encountered:
for issue angular#10097
changes:
/**
* @ngdoc directive
* @name ngBindHtml
*
* @description
* Creates a binding that will innerHTML the result of evaluating the `expression` into the current
* element in a secure way. By default, the innerHTML-ed content will be sanitized using the {@link
* ngSanitize.$sanitize $sanitize} service. To utilize this functionality, ensure that `$sanitize`
to this:
/**
* @ngdoc directive
* @name ngBindHtml
*
* @description
* Evaluates the expression and inserts the resulting HTML into the element in a secure way. By default,
* the resulting HTML content will be sanitized using the {@link ngSanitize.$sanitize $sanitize} service.
ngBindHtml starts out by saying:
"Creates a binding that will innerHTML"? innerHTML isn't a verb, so this doesn't read well. It should probably be changed to language more like ngBind
The text was updated successfully, but these errors were encountered: