@@ -66,7 +66,7 @@ export class CdkDrag<T = any> implements AfterViewInit, OnChanges, OnDestroy {
66
66
getFreeDragPosition(): Readonly <Point >;
67
67
getPlaceholderElement(): HTMLElement ;
68
68
getRootElement(): HTMLElement ;
69
- lockAxis: DragAxis ;
69
+ lockAxis: DragAxis | null ;
70
70
readonly moved: Observable <CdkDragMove <T >>;
71
71
// (undocumented)
72
72
static ngAcceptInputType_disabled: unknown ;
@@ -259,7 +259,7 @@ export class CdkDropList<T = any> implements OnDestroy {
259
259
getSortedItems(): CdkDrag [];
260
260
hasAnchor: boolean ;
261
261
id: string ;
262
- lockAxis: DragAxis ;
262
+ lockAxis: DragAxis | null ;
263
263
// (undocumented)
264
264
static ngAcceptInputType_autoScrollDisabled: unknown ;
265
265
// (undocumented)
@@ -330,7 +330,7 @@ export interface DragDropConfig extends Partial<DragRefConfig> {
330
330
// (undocumented)
331
331
listOrientation? : DropListOrientation ;
332
332
// (undocumented)
333
- lockAxis? : DragAxis ;
333
+ lockAxis? : DragAxis | null ;
334
334
// (undocumented)
335
335
previewClass? : string | string [];
336
336
// (undocumented)
@@ -423,7 +423,7 @@ export class DragRef<T = any> {
423
423
getRootElement(): HTMLElement ;
424
424
getVisibleElement(): HTMLElement ;
425
425
isDragging(): boolean ;
426
- lockAxis: ' x' | ' y' ;
426
+ lockAxis: ' x' | ' y' | null ;
427
427
readonly moved: Observable <{
428
428
source: DragRef ;
429
429
pointerPosition: {
@@ -523,7 +523,7 @@ export class DropListRef<T = any> {
523
523
isDragging(): boolean ;
524
524
_isOverContainer(x : number , y : number ): boolean ;
525
525
isReceiving(): boolean ;
526
- lockAxis: ' x' | ' y' ;
526
+ lockAxis: ' x' | ' y' | null ;
527
527
readonly receivingStarted: Subject <{
528
528
receiver: DropListRef ;
529
529
initiator: DropListRef ;
0 commit comments