Closed victorazevedo closed 4 years ago
example of object with new parameters:
obj: any = { target: 'target', file: 'myInput', path: 'assets/src', // XY: { // // X: 50, // Y: -120, // } VIEWER_HEIGHT: 400, viewer: { theme: 'soft', notappend: true }, SCROLL_FACTOR: 50, callbackstart: () => { this.loader.displayLoader(true); }, callbackend: () => { this.loader.displayLoader(false); } }
this.madeleine = new Madeleine(this.obj); or this.madeleine = Lily.ready(this.obj);
example of object with new parameters:
obj: any = { target: 'target', file: 'myInput', path: 'assets/src', // XY: { // // X: 50, // Y: -120, // } VIEWER_HEIGHT: 400, viewer: { theme: 'soft', notappend: true }, SCROLL_FACTOR: 50, callbackstart: () => { this.loader.displayLoader(true); }, callbackend: () => { this.loader.displayLoader(false); } }
this.madeleine = new Madeleine(this.obj); or this.madeleine = Lily.ready(this.obj);