src/ui/file-upload/services/smart-file-upload-registry.service.ts
Methods |
constructor()
|
| getFileUpload | ||||||||
getFileUpload(instanceName: string)
|
||||||||
|
Gets a file upload component by instance name. If the file upload component is not registered, it will return undefined.
Parameters :
Returns :
any
The file upload component or undefined if not found. |
| getFileUploadAsObservable | ||||||||
getFileUploadAsObservable(instanceName: string)
|
||||||||
|
Gets a file upload component as an observable that emits the file upload component when it is registered. If the file upload component is not registered, it will emit undefined.
Parameters :
Returns :
any
The file upload component as an observable. |
| registerFileUpload | ||||||||||||
registerFileUpload(instanceName: string, fileUpload: SmartFileUploadComponent)
|
||||||||||||
|
Registers a file upload component.
Parameters :
Returns :
void
|
| unregisterAll |
unregisterAll()
|
|
Unregisters all file upload components from this registry.
Returns :
void
|
| unregisterFileUpload | ||||||||
unregisterFileUpload(instanceName: string)
|
||||||||
|
Unregisters a file upload component.
Parameters :
Returns :
void
|