AddNodeOptions#

Type alias AddNodeOptions

AddNodeOptions: {
    autoExpand?: boolean;
    cacheStrategy?: CacheStrategy;
    dataURI?: string;
    initialProperties?: InitialNodeProperties;
    label?: string;
    mimeType?: string;
    parentId?: number;
}

Type declaration

  • Optional autoExpand?: boolean

    The autoExpand flag can be used to automatically expand the added Node to allow direct interaction with the underlying data.

    Default

    false
    
  • Optional cacheStrategy?: CacheStrategy

    Specifies the strategy which is used when a data cache is requested from the instant3Dhub.

    Default

    CacheStrategy.REUSE
    
  • Optional dataURI?: string

    Specifies the URI to the data resource.

    Default

    undefined
    
  • Optional initialProperties?: InitialNodeProperties

    Specifies initialProperties of the added Node.

    Default

    undefined
    
  • Optional label?: string

    Specifies a custom label for the added Node.

    Default

    undefined
    
  • Optional mimeType?: 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.

    Default

    undefined
    
  • Optional parentId?: number

    Specifies the parent Node ID of the added Node.

    Default

    0
    

Did you find this page useful? Please give it a rating:
Thank you for rating this page!
Any issues or feedback?
What kind of problem would you like to report?
Please tell us more about what's wrong: