I need to remove multi Instance task of popup menu replacement. I have a CustomReplaceMenuProvider with a getPopupMenuEntries function to hide some items. But I need to remove those options right there at the top.
You can add a getPopupMenuHeaderEntries
method to your provider for that purpose.
getPopupMenuHeaderEntries(target) {
return function(entries) {
return omit(entries, [
'toggle-parallel-mi',
'toggle-sequential-mi',
'toggle-loop'
]);
};
}
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.