Stay organized with collections
Save and categorize content based on your preferences.
blockly > WorkspaceDragger
WorkspaceDragger class
Class for a workspace dragger. It moves the workspace around when it is being dragged by a mouse or touch.
Signature:
export declare class WorkspaceDragger
Constructors
Properties
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-09-18 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-09-18 UTC."],[[["\u003cp\u003eThe WorkspaceDragger class manages the dragging and movement of the workspace in response to mouse or touch interactions.\u003c/p\u003e\n"],["\u003cp\u003eIt includes a constructor to initialize a new WorkspaceDragger instance and a startScrollXY_ property to store initial scroll coordinates.\u003c/p\u003e\n"],["\u003cp\u003eThe provided documentation details the WorkspaceDragger's signature, constructor, and properties.\u003c/p\u003e\n"]]],[],null,["[blockly](./blockly.md) \\\u003e [WorkspaceDragger](./blockly.workspacedragger_class.md)\n\nWorkspaceDragger class\n----------------------\n\nClass for a workspace dragger. It moves the workspace around when it is being dragged by a mouse or touch.\n\n**Signature:** \n\n export declare class WorkspaceDragger \n\nConstructors\n------------\n\n| Constructor | Modifiers | Description |\n|---------------------------------------------------------------------------------------------|-----------|-----------------------------------------------------------|\n| [(constructor)(workspace)](./blockly.workspacedragger_class._constructor__1_constructor.md) | | Constructs a new instance of the `WorkspaceDragger` class |\n\nProperties\n----------\n\n| Property | Modifiers | Type | Description |\n|-------------------------------------------------------------------------------|-------------|-------------------------------------------------------------|-------------|\n| [startScrollXY_](./blockly.workspacedragger_class.startscrollxy__property.md) | `protected` | [Coordinate](./blockly.utils_namespace.coordinate_class.md) | |"]]