Module

ui/button/filedialogbuttonview

@ckeditor/ckeditor5-ui/src/button/filedialogbuttonview

module

Filtering

Classes

Type Definitions

Functions

  • FileDialogViewMixin( view ) → Mixed<Base, FileDialogButtonViewBase>

    Mixin function that enhances a base button view class with file dialog functionality. It is used to create a button view class that opens the native select file dialog when clicked.

    The enhanced view includes a button and a hidden file input. When the button is clicked, the file dialog is opened. The mixin adds properties and methods to the base class to handle the file selection.

    Type parameters

    Base : extends Constructor<ButtonView>

    Parameters

    view : Base

    The base class to be enhanced with file dialog functionality.

    Returns

    Mixed<Base, FileDialogButtonViewBase>

    A new class that extends the base class and includes the file dialog functionality.