From bb542d72d15b3a8301d1525c2d56579debf2b36c Mon Sep 17 00:00:00 2001 From: Alain Dumesny Date: Tue, 5 Sep 2023 07:35:03 -0700 Subject: [PATCH] doc update --- src/types.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/types.ts b/src/types.ts index 28bb749b3..cd83154b8 100644 --- a/src/types.ts +++ b/src/types.ts @@ -311,11 +311,11 @@ export interface GridStackWidget extends GridStackPosition { minH?: number; /** maximum height allowed during resize/creation (default?: undefined = un-constrained) */ maxH?: number; - /** prevent resizing (default?: undefined = un-constrained) */ + /** prevent direct resizing by the user (default?: undefined = un-constrained) */ noResize?: boolean; - /** prevents moving (default?: undefined = un-constrained) */ + /** prevents direct moving by the user (default?: undefined = un-constrained) */ noMove?: boolean; - /** prevents being moved by others during their (default?: undefined = un-constrained) */ + /** same as noMove+noResize but also prevents being pushed by other widgets or api (default?: undefined = un-constrained) */ locked?: boolean; /** value for `gs-id` stored on the widget (default?: undefined) */ id?: string;