@theredhead — Frontend Library - v1.0.0
    Preparing search index...

    Interface DirectoryChangeEvent<M>

    Event emitted when the current directory changes (user navigates into a folder).

    interface DirectoryChangeEvent<M = unknown> {
        directory: FileBrowserEntry<M> | null;
        path: readonly FileBrowserEntry<M>[];
    }

    Type Parameters

    • M = unknown

      Optional metadata type.

    Index

    Properties

    Properties

    directory: FileBrowserEntry<M> | null

    The directory the user navigated to (null for root).

    path: readonly FileBrowserEntry<M>[]

    The breadcrumb path from root to the current directory.