|
@@ -13,20 +13,6 @@ export interface ViewerConfiguration {
|
|
|
mapper?: string; // json (default), html, yaml, xml, etc'. if not provided, file extension will be used.
|
|
|
};
|
|
|
|
|
|
- // Deprecated
|
|
|
- /*// native (!!!) javascript events. Mainly used in the JSON-format.
|
|
|
- // those events will be triggered by the container element (the <babylon> tag);
|
|
|
- events?: {
|
|
|
- load: boolean | string;
|
|
|
- init: boolean | string;
|
|
|
- meshselected: boolean | string;
|
|
|
- pointerdown: boolean | string;
|
|
|
- pointerup: boolean | string;
|
|
|
- pointermove: boolean | string;
|
|
|
- // load: 'onViewerLoaded' // will trigger the event prefix-onViewerLoaded instead of prefix-onLoad (and ONLY this event).
|
|
|
- } | boolean; //events: true - fire all events*/
|
|
|
- //eventPrefix?: string;
|
|
|
-
|
|
|
// names of functions in the window context.
|
|
|
observers?: {
|
|
|
onEngineInit?: string;
|