Skip to content

Commit 976d15f

Browse files
wesleychoNarretz
authored andcommitted
docs(ngOpen): add note about browser compatibility
- Add note about browser compatibility and recommend ng-show/ng-hide Closes angular#14752
1 parent 3360b44 commit 976d15f

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/ng/directive/attrs.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -305,6 +305,11 @@
305305
* A special directive is necessary because we cannot use interpolation inside the `open`
306306
* attribute. See the {@link guide/interpolation interpolation guide} for more info.
307307
*
308+
* ## A note about browser compatibility
309+
*
310+
* Edge, Firefox, and Internet Explorer do not support the `details` element, it is
311+
* recommended to use {@link ng.ngShow} and {@link ng.ngHide} instead.
312+
*
308313
* @example
309314
<example>
310315
<file name="index.html">

0 commit comments

Comments
 (0)