Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface P3dEmbedApiOptions

Hierarchy

  • P3dEmbedApiOptions

Index

Properties

Methods

Properties

Optional hoverRate

hoverRate: number

Maximum rate in milliseconds that hover events are fired. Default: 100 ms

Methods

Optional onclick

  • Callback that triggers when user clicks inside the embed

    Parameters

    Returns void

Optional onhover

  • Callback that triggers when user moves (or "hovers") the pointer inside the embed. Fires at maximum 10 times per second

    Parameters

    Returns void

Optional onload

  • onload(): void
  • Callback that triggers whe model is finished loading and is displayed to the user

    Returns void

Optional onready

  • onready(): void
  • Callback that triggers when embed api is ready to start communicating with the embed iframe. This however does not mean that the model has finished loading.

    Returns void

Generated using TypeDoc