맥스그리드 API 레퍼런스
    Preparing search index...

    Interface FileDropSlot

    그리드 밖 패키지·렌더러가 나눠 쓰는 숨은 자리(Symbol.for('maxgrid.api.fileDrop')). 공개 API가 아니다: withExport가 importer를, 렌더러가 opener·notify를 채우고, 렌더러는 놓은 파일을 drop에 넘긴다.

    interface FileDropSlot {
        importer: FileImporter | null;
        notify: ((notice: FileDropNotice) => void) | null;
        opener: (() => void) | null;
        drop(files: readonly File[]): Promise<void>;
        overlayText(): string | null;
    }
    Index
    importer: FileImporter | null
    notify: ((notice: FileDropNotice) => void) | null
    opener: (() => void) | null
    • Parameters

      • files: readonly File[]

      Returns Promise<void>

    • 끌어 올렸을 때 보일 안내 글자와 켜짐 여부(꺼져 있으면 null).

      Returns string | null