
Product
Secure Your AI-Generated Code with Socket MCP
Socket MCP brings real-time security checks to AI-generated code, helping developers catch risky dependencies before they enter the codebase.
ngx-mat-menu-hover
Advanced tools
This Angular directive provides functionality to handle hover menu behavior, allowing menus to open when hovered over and close when the mouse leaves.
This Angular directive provides functionality to handle hover menu behavior, allowing menus to open when hovered over and close when the mouse leaves.
npm install mat-menu-hover@latest
Since the directive is marked as standalone you can directly import it into a module.
import { NgModule } from '@angular/core';
import { HoverMenuDirective } from 'mat-menu-hover';
@NgModule({
declarations: [...],
imports: [
HoverMenuDirective
],
exports: [...]
})
export class AppModule { }
<button mat-button [matMenuTriggerFor]="menu" matHoverMenu>Menu</button>
<mat-menu #menu="matMenu">
<!-- Menu content goes here -->
</mat-menu>
Keyword | Function | Note |
---|---|---|
[closeDelay] | Adds a delay before the menu closed | Default = 50ms |
(opened) | Emits if the menu is opened/closed |
This project is licensed under the MIT License - see the LICENSE file for details.
FAQs
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Product
Socket MCP brings real-time security checks to AI-generated code, helping developers catch risky dependencies before they enter the codebase.
Security News
As vulnerability data bottlenecks grow, the federal government is formally investigating NIST’s handling of the National Vulnerability Database.
Research
Security News
Socket’s Threat Research Team has uncovered 60 npm packages using post-install scripts to silently exfiltrate hostnames, IP addresses, DNS servers, and user directories to a Discord-controlled endpoint.