formcycle 8.3.6 - JavaScript for forms
    Preparing search index...

    Interface AjaxUploadDialog

    A simple dialog that shows all AJAX uploads in the current form.

    interface AjaxUploadDialog {
        clear: () => void;
        hide: () => void;
        show: () => void;
        track: (opts?: TrackOptions) => void;
        untrack: () => void;
    }
    Index

    Properties

    clear: () => void

    Removes all upload items in the upload dialog.

    hide: () => void

    Hides the upload dialog.

    show: () => void

    Shows the upload dialog.

    track: (opts?: TrackOptions) => void

    Tracks all AJAX uploads in the current form and shows them in the upload dialog.

    Type declaration

      • (opts?: TrackOptions): void
      • Parameters

        • Optionalopts: TrackOptions

          Optional settings for how to track the uploads.

        Returns void

    untrack: () => void

    Turns of tracking, so that new uploads in the form are not shown in the upload dialog anymore.