Skip to content

Latest commit

 

History

History
52 lines (41 loc) · 1.82 KB

new-version-uploader.dialog.md

File metadata and controls

52 lines (41 loc) · 1.82 KB
Title Added Status Last reviewed
Version List component
v4.1.1
Active
2024-10-21

Displays list of versions history of a node in a dialog.

Version Manager

Basic Usage

this.dialog.open<NewVersionUploaderDialogComponent, NewVersionUploaderDialogData>(
    NewVersionUploaderDialogComponent,
    {
        data: {
            file,
            node,
            currentVersion: version,
            showComments: true,
            allowDownload: true,
            showVersionsOnly: true,
            allowViewVersions: true,
            allowVersionDelete: true,
            showActions: true
        },
        width: '630px'
    }
)

Class members

Events

Name Type Description
dialogAction EventEmitter<NewVersionUploaderData> Emitted when any action occurs.
uploadError EventEmitter<any> Emitted when upload error occurs.

Details

This component can be used by calling openUploadNewVersionDialog function of New Version Uploader service.

See also