I\'m working on an Angular2 application, and I need to display -- but disable an HTML element. What is the corr
disable
.disabled{ pointer-events: none }
will disable the click event, but not the tab event. To disable the tab event, you can set the tabindex to -1 if the disable flag is true.
Menu Item