setEnabled

fun setEnabled(enabled: Boolean): ERROR CLASS: Symbol not found for js.promise.Promise<ERROR CLASS: Symbol not found for js.core.Void>(source)

Sets whether this icon menu item is enabled or not.