', {
'aria-haspopup': children.length ? true : null,
class: [this.getSettings('classes.adminBarItem'), item.href ? '' : this.getSettings('classes.adminBarNonLinkItem'), item.class].join(' '),
href: item.href
}).append([$title, $subTitle]);
return jQuery('
', {
id: id,
class: children.length ? 'menupop' : '' + (item.parent_class || 'elementor-general-section')
}).append([$item, children.length ? this.createSubMenuItems(id, children) : null]);
}
/**
* Creates sub menu items wrapper.
*
* @param {string} parentId
* @param {Object} children
* @return {jQuery} sub-menu items
*/
}, {
key: "createSubMenuItems",
value: function createSubMenuItems(parentId, children) {
var $list = jQuery('