Hiyve Components - v1.0.0
    Preparing search index...

    Interface CustomContextActionContext

    Helpers handed to a CustomContextAction when it runs.

    interface CustomContextActionContext {
        openFile: (file: FileEntry) => void;
    }
    Index

    Properties

    Properties

    openFile: (file: FileEntry) => void

    Open a file exactly as a double-click would — inline viewer, tab switch, or edit callback, whichever applies to its type.

    Lets an action that PRODUCES a file (e.g. "Open in whiteboard", which creates a board for the selected image) hand it back to the normal routing instead of reimplementing it. The file need not be one the list is currently showing.