DX5 Methods
canonicalize
dextuploadx5-vue 0.0.1 or later
Description: Normalizes the given path into a full path usable in the browser. If the global dx5 object is ready, dx5.canonicalize is used. If it is not loaded yet, only URL normalization based on the browser origin is performed.
Syntax
fullPath = DX5.canonicalize(path);
create
dextuploadx5-vue 0.0.1 or later
Description: Calls the create function of the global dx5 object to create an X5 instance.
In typical Vue usage, DEXTUploadX5List/Grid/Tile/Single components call this internally, so direct calls are rarely needed.
Syntax
DX5.create(options);
delete
dextuploadx5-vue 0.0.1 or later
Description: Deletes the X5 instance for the given id.
Vue components delete the instance internally when unmounted.
Syntax
DX5.delete(id);
get
dextuploadx5-vue 0.0.1 or later
Description: Gets the X5 instance object for the given id. If called before the global dx5 is ready, an error is thrown. If id is empty, null is returned.
Syntax
module = DX5.get(id);
isLoaded
dextuploadx5-vue 0.0.1 or later
Description: Checks whether the global dx5 object is currently ready.
Syntax
loaded = DX5.isLoaded();
raw
dextuploadx5-vue 0.0.1 or later
Description: Returns the original global dx5 object as-is. If the global object is not ready yet, null is returned.
Syntax
globalDX5 = DX5.raw();