lib/bundle.js
/**
 * Initialize a menu item from a template object.
 */
Initialize a menu item from a template object.
Initialize a menu item from a template object .
function initFromTemplate(item, template) {
    initFromCommon(item, template);
    if (template.submenu !== void 0) {
        item.submenu = menu_1.Menu.fromTemplate(template.submenu);
    }
}
function initFromTemplate ( item , template ) { initFromCommon ( item , template ) ; if ( template . submenu !== void 0 ) { item . submenu = menu_1 . Menu . fromTemplate ( template . submenu ) ; } }
Initialize a menu item from a template object.
Initialize a menu item from a template object .