Trilium Frontend API
    Preparing search index...

    Interface MobileMasterDetail

    interface MobileMasterDetail {
        isMasterDetail: boolean;
        mobileView: "page" | "list";
        resetMobileView: (view: "page" | "list") => void;
        switchMobileView: (view: "page" | "list") => void;
    }
    Index

    Properties

    isMasterDetail: boolean

    True on narrow mobile viewports where the list and detail collapse into a master-detail flow.

    mobileView: "page" | "list"

    Which half of the master-detail flow is currently visible.

    resetMobileView: (view: "page" | "list") => void

    Set the view directly without animating (e.g. when (re)opening the dialog).

    switchMobileView: (view: "page" | "list") => void

    Switch between the two views with a slide animation.