Open nomego opened 10 years ago
I've implemented this myself currently in a new element. I have a core-state-item - extending core-item but adding a simple 'disabled' state boolean. I apply css styling based on the disables attribute to gray out items and ensure they don't respond to pointer events. I +2 the idea of core-item taking this.
Is there a way to create a disabled menu item? That is shown but not selectable ?
I'm using a core-menu with a few core-submenu all containing paper-items. What I want to do is to add a to make is unselectable but still show in the menu and then CSS it to be greyed out.