interactionPromptStyle property

InteractionPromptStyle? interactionPromptStyle
final

Configures the presentation style of the interaction-prompt when it is raised. When set to "wiggle", the prompt will animate horizontally and the model will rotate as though the prompt is interacting with it. When set to "basic", the prompt is not animated, and instead simply appears until it is dismissed by user interaction.

You man use the interactionPromptStyle enum to set this attribute.

<model-viewer> official document: https://modelviewer.dev/docs/#entrydocs-stagingandcameras-attributes-interactionPromptStyle

Implementation

final InteractionPromptStyle? interactionPromptStyle;