0.9.0 • Published 22 days ago

@bentley/imodeljs-embed-api v0.9.0

Weekly downloads
5
License
MIT
Repository
-
Last release
22 days ago

iTwin.js Embed API

The iTwin.js Embed API allows you to embed an iTwin.js application via an iFrame into any "host" web application with a simple request.

The Embed API includes a set of functionality that allows the hosting application to interact with the embedded application. The specific functionality the API exposes is driven by the iTwin.js application that is being embedded and therefore support may vary from application to application.

The current feature set includes:

  • Support for opening to a specific Context/iModel/Changeset
    • Via query params
  • Option to turn on/off the iModelIndex page
    • Design Review specific
  • Interactions with the embedded iTwin.js Application
    • Unified Selection
      • Listen to selection events, more details
      • Drive Unified Selection by Element Ids
    • Perform full ECSql queries
      • To get started with ECSql, visit here
    • Get Element Properties
    • Viewport functionality
      • Drive Zoom by element ids
      • Limited Emphasize and Override capabilities
  • Support for custom messages, event and querystring parameter that can be tailored in a specific embedded application.
  • Extensions loading from iTwin.js Extension Service.

Example

A basic javascript sample is provided and available in the demos folder. The two main files are index.html and demo.js.

0.9.0

22 days ago

0.8.0

5 months ago

0.5.4

8 months ago

0.5.3

8 months ago

0.7.0

8 months ago

0.6.0

8 months ago

0.5.0

2 years ago

0.5.2

2 years ago

0.5.1

2 years ago

0.4.1

2 years ago

0.4.0

2 years ago

0.3.6

3 years ago

0.3.5

3 years ago

0.3.4

3 years ago

0.3.3

3 years ago