lib/bundle.js
/**
 * Create the complete DOM node class name for a MenuItem.
 */
Create the complete DOM node class name for a MenuItem.
Create the complete DOM node class name for a MenuItem .
function createItemClassName(item) {
    var parts = [exports.MENU_ITEM_CLASS];
    if (item.isSeparatorType) {
        parts.push(exports.SEPARATOR_TYPE_CLASS);
    }
    if (item.disabled) {
        parts.push(exports.DISABLED_CLASS);
    }
    if (item.hidden) {
        parts.push(exports.HIDDEN_CLASS);
    }
    if (item.className) {
        parts.push(item.className);
    }
    return parts.join(' ');
}
function createItemClassName ( item ) { var parts = [ exports . MENU_ITEM_CLASS ] ; if ( item . isSeparatorType ) { parts . push ( exports . SEPARATOR_TYPE_CLASS ) ; } if ( item . disabled ) { parts . push ( exports . DISABLED_CLASS ) ; } if ( item . hidden ) { parts . push ( exports . HIDDEN_CLASS ) ; } if ( item . className ) { parts . push ( item . className ) ; } return parts . join ( ' ' ) ; }
Create the complete DOM node class name for a MenuItem.
Create the complete DOM node class name for a MenuItem .