File tree Expand file tree Collapse file tree
src/fragments/IfcStreamer Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11{
22 "name" : " @thatopen/components-front" ,
33 "description" : " Collection of frontend tools to author BIM apps." ,
4- "version" : " 2.3.0-alpha.11 " ,
4+ "version" : " 2.3.0-alpha.12 " ,
55 "author" : " That Open Company" ,
66 "contributors" : [
77 " Antonio Gonzalez Viegas (https://github.com/agviegas)" ,
Original file line number Diff line number Diff line change @@ -70,6 +70,12 @@ export class IfcStreamer extends OBC.Component implements OBC.Disposable {
7070 */
7171 cancel = false ;
7272
73+ /**
74+ * The URL of the data source for the streaming service.
75+ * It should be set before using the streaming service. Alternatively, you can use a custom fetch function.
76+ */
77+ url : string = "" ;
78+
7379 fetch = async ( fileName : string ) : Promise < Response | File > => {
7480 return fetch ( this . url + fileName ) ;
7581 } ;
@@ -85,12 +91,6 @@ export class IfcStreamer extends OBC.Component implements OBC.Disposable {
8591
8692 private _fileDB = new StreamerFileDb ( ) ;
8793
88- /**
89- * The URL of the data source for the streaming service.
90- * It should be set before using the streaming service. Alternatively, you can use a custom fetch function.
91- */
92- private url : string = "" ;
93-
9494 private _isDisposing = false ;
9595
9696 private _geometryInstances : {
You can’t perform that action at this time.
0 commit comments