
Security News
AGENTS.md Gains Traction as an Open Format for AI Coding Agents
AGENTS.md is a fast-growing open format giving AI coding agents a shared, predictable way to understand project setup, style, and workflows.
@aloysius-software-factory/mat-tab-nav-gesture
Advanced tools
This library provide a simple directive to enable gesture behaviors for the MatTabGroup component on top of @angular/material library.
This library provide a simple directive to enable gesture behaviors for the MatTabGroup component on top of @angular/material library.
####Gesture features :
Install the library from npm
npm i --save @aloysius-software-factory/mat-tab-nav-gesture
Next, import the MatTabGroupGestureModule in your app's module
app.module.ts
import { MatTabNavGestureModule } from 'mat-tab-group-gesture';
...
@NgModule({
...
imports: [
...
MatTabNavGestureModule,
],
...
})
export class AppModule { }
After that, you will be able to add gesture directive to mat-tab-group :
<mat-tab-group matTabNavGesture [swipeLimitWidth]="80"> ... </mat-tab-group>
Directive responsible for managing gesture behaviors
Selector: matTabNavGesture
Name | Default value | Description |
---|---|---|
swipeLimitWidth | 80 | The minimum length of the "swipe" gesture to trigger the tabs navigation |
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.
Security News
AGENTS.md is a fast-growing open format giving AI coding agents a shared, predictable way to understand project setup, style, and workflows.
Security News
/Research
Malicious npm package impersonates Nodemailer and drains wallets by hijacking crypto transactions across multiple blockchains.
Security News
This episode explores the hard problem of reachability analysis, from static analysis limits to handling dynamic languages and massive dependency trees.