For the complete documentation index, see llms.txt. This page is also available as Markdown.

Canvas Interaction

Overview: This channel is dedicated to capturing user interactions within the canvas. It's versatile and can be used in both 2D and 3D contexts to track specific interactions.

Usage: Utilized for tracking various interactions within the canvas, such as clicks, drags, or other user inputs, providing a way to respond to or log these activities.

Parameters:

  • contextId: The ID for the context of the 2D or 3D canvas.

  • name: The name of the interaction.

  • parameters: Parameters to pass to the interaction, allowing for customizable responses or actions based on the interaction type.

Channel Name (for import):

import CANVAS_INTERACTION_CHANNEL from "@salesforce/messageChannel/RDraw__Canvas_Interaction__c";

Publisher Components:

  • canvas3D

  • standalone_DataTable

Subscriber Components:

  • canvas3D (bidirectional)

  • canvas2D

\

Last updated