You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Add rootDOMNode parameter to allow using bim-viewer inside shadowRoot
* Add bim-viewer custom web component
* add a static method to register the web component, optionally with a custom name
* ShadowRoot related changes
* :Fix typos
* Remove rollup terser from dev config
* Mutual containerElement for BimViewer and Explorers
* Update example
* Fix iframe issue with not valid input id
* Add 'parentNode' config param to SectionTool
* Handle camera pivot
* Add support for positioning on window scroll
* Handle rotation pivot element
* Add support for horizontally scrolled positions
* Fix icons not displaying
* Add HTML attributes replacing query params
* Add custom event attribute 'onObjectSelected'
* Expose bimViewer instance in web component
* Remove pivot substitute
* Add HTML attributes
* Update example
* fix: behavior of explorer panel on scroll
* Prevent page from scrolling when mouse is over viewer canvas
* Update web coponent example
* Move rollup stuff to devdependencies
* Upgrade xeokit
Copy file name to clipboardExpand all lines: src/BIMViewer.js
+19-10Lines changed: 19 additions & 10 deletions
Original file line number
Diff line number
Diff line change
@@ -187,6 +187,7 @@ class BIMViewer extends Controller {
187
187
* @param {Boolean} [cfg.enableEditModels=false] Set ````true```` to show "Add", "Edit" and "Delete" options in the Models tab's context menu.
188
188
* @param {Boolean} [cfg.enableMeasurements=true] Set ````true```` to enable distance and angle measurements with the BIMViewer.
189
189
* @param {Boolean} [cfg.keyboardEventsElement] Optional reference to HTML element on which key events should be handled. Defaults to the HTML Document.
190
+
* @param {Node | undefined} [cfg.containerElement] Optional reference of an existing DOM Node (e.g. ShadowRoot), which encapsulates all HTML elements related to viewer plugins, defaults to ````document.body````.
190
191
*/
191
192
constructor(server,cfg={}){
192
193
@@ -250,6 +251,7 @@ class BIMViewer extends Controller {
0 commit comments