Menu.refreshMenuItemStyle Method

Refreshes the menu item's so it re-draws itself with the updated style.
 

Parameters

menuItem

Type: MenuItem
The menu item to refresh the style on.
stateName

Type: String
If a specific state is to applied, it can be named here. Choices are 'rest', and 'hover'. 'Active' will always be applied if the menu item is active.
Optional: True