
Research
/Security News
Critical Vulnerability in NestJS Devtools: Localhost RCE via Sandbox Escape
A flawed sandbox in @nestjs/devtools-integration lets attackers run code on your machine via CSRF, leading to full Remote Code Execution (RCE).
angular-mixed-cdk-drag-drop
Advanced tools
angular-mixed-cdk-drag-drop is an Angular `Directive` to support mixed orientation drag drop using angular cdk.
angular-mixed-cdk-drag-drop is an Angular Directive
to support mixed orientation drag drop using angular cdk.
Support Standalone Component and Module.
npm install angular-mixed-cdk-drag-drop
npm install angular-mixed-cdk-drag-drop@angular19
npm install angular-mixed-cdk-drag-drop@angular18
npm install angular-mixed-cdk-drag-drop@angular17
npm install angular-mixed-cdk-drag-drop@angular16
npm install angular-mixed-cdk-drag-drop@angular15
npm install angular-mixed-cdk-drag-drop@angular14
The official cdkDropList is implement like below.
<div cdkDropList cdkDropListOrientation="horizontal" class="example-list" (cdkDropListDropped)="drop($event)">
<div class="example-box" *ngFor="let item of items" cdkDrag>{{item}}</div>
</div>
To use this mixed orientation directive, we need to put every cdkDrag in an individual cdkDropList and grouped all the dropList in a CdkDropListGroup. To do so with the following few steps.
mixedCdkDragDrop
directive and set orientation(required). (the list group need to be a Flex container which set the style display property to flex.)mixedCdkDropList
directive as the parent of every cdkDrag.<div class="example-list"
cdkDropListGroup mixedCdkDragDrop
[orientation]="'horizontal'"
[itemList]="items"
(dropped)="dropped($event)">
@for (item of items; track item.id) {
<span cdkDropList mixedCdkDropList>
<div class="example-box" cdkDrag>
{{item}}
<div cdkDragHandle> = </div>
</div>
</span>
}
</div>
When cdkDrag size is originally depend on its container. Applied mixedCdkDragDrop will break the style by adding additional cdkDropList parent element. MixedCdkDragSizeHelper directive will help to handle the CdkDrag size in this case.
<div class="example-list"
cdkDropListGroup mixedCdkDragDrop
[containerSelector]="'.example-list'">
@for (item of items; track item.id) {
<span cdkDropList mixedCdkDropList>
<div class="example-box" cdkDrag mixedCdkDragSizeHelper
(contentBoxSize)="onSizeChange($event)">
{{item}}
<div cdkDragHandle> = </div>
</div>
</span>
}
</div>
onSizeChange(event: MixedCdkDragContainerSize) {
MixedCdkDragSizeHelperDirective.defaultEmitter(event, Number(this.percentWidth), Number(this.percentHeight));
}
You can use MixedCdkDragDropModule.forRoot to define global settings:
MixedCdkDragDropModule.forRoot({ autoScrollStep: 4 });
ng build angular-mixed-cdk-drag-drop
npm publish dist/angular-mixed-cdk-drag-drop
Copyright 2025 Rose Chung
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
FAQs
angular-mixed-cdk-drag-drop is an Angular `Directive` to support mixed orientation drag drop using angular cdk.
The npm package angular-mixed-cdk-drag-drop receives a total of 476 weekly downloads. As such, angular-mixed-cdk-drag-drop popularity was classified as not popular.
We found that angular-mixed-cdk-drag-drop demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
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.
Research
/Security News
A flawed sandbox in @nestjs/devtools-integration lets attackers run code on your machine via CSRF, leading to full Remote Code Execution (RCE).
Product
Customize license detection with Socket’s new license overlays: gain control, reduce noise, and handle edge cases with precision.
Product
Socket now supports Rust and Cargo, offering package search for all users and experimental SBOM generation for enterprise projects.