AddNodeOptions#
Type alias AddNodeOptions
Add
autoExpand?: boolean;
cacheStrategy?: CacheStrategy;
dataURI?: string;
initialProperties?: InitialNodeProperties;
label?: string;
mimeType?: string;
parentId?: number;
}
autoExpand?: boolean;
cacheStrategy?: CacheStrategy;
dataURI?: string;
initialProperties?: InitialNodeProperties;
label?: string;
mimeType?: string;
parentId?: number;
}
Type declaration
- 
OptionalautoExpand?: boolean Defaultfalse
- 
OptionalcacheStrategy?: CacheStrategy Specifies the strategy which is used when a data cache is requested from the instant3Dhub. DefaultCacheStrategy.REUSE
- 
OptionaldataURI?: stringSpecifies the URI to the data resource. Defaultundefined
- 
OptionalinitialProperties?: InitialNodeProperties Specifies initialProperties of the added Node. Defaultundefined
- 
Optionallabel?: stringSpecifies a custom label for the added Node. Defaultundefined
- 
OptionalmimeType?: string Specifies the mime type of the data resource. Per default the mime type is automatically detected and an override is only necessary in special cases. Valid mime types can be retrieved from the requestSupportedContentTypes method. Defaultundefined
- 
OptionalparentId?: number Specifies the parent Node ID of the added Node. Default0
The autoExpand flag can be used to automatically expand the added Node to allow direct interaction with the underlying data.