We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Angular version: 5 ContextMenu version: 5.0.3 public onContextMenu(contextMenu, contextMenuService, $event: KeyboardEvent, item: any, index): void {
contextMenuService.show.next({ contextMenu: contextMenu, event: $event, item: item }); $event.preventDefault(); $event.stopPropagation();
}
When enter click on selected menu item. it is not executing the function. Tried to debug with Package code.
ContextMenuContentComponent.prototype.keyboardMenuItemSelect = /** * @param {?=} event * @return {?} */ function (event) { console.log('Raised event') if (!this.isLeaf) { return; } this.cancelEvent(event); this.menuItems[this._keyManager.activeItemIndex]; always getting -1 and activeItem as undefined if (menuItem) { this.onMenuItemSelect(menuItem, event); } };
The text was updated successfully, but these errors were encountered:
Any update?
Sorry, something went wrong.
No branches or pull requests
Angular version: 5
ContextMenu version: 5.0.3
public onContextMenu(contextMenu, contextMenuService, $event: KeyboardEvent, item: any, index): void {
}
When enter click on selected menu item. it is not executing the function. Tried to debug with Package code.
ContextMenuContentComponent.prototype.keyboardMenuItemSelect = /**
* @param {?=} event
* @return {?}
*/
function (event) {
console.log('Raised event')
if (!this.isLeaf) {
return;
}
this.cancelEvent(event);
this.menuItems[this._keyManager.activeItemIndex]; always getting -1 and activeItem as undefined
if (menuItem) {
this.onMenuItemSelect(menuItem, event);
}
};
The text was updated successfully, but these errors were encountered: