Trilium Frontend API
    Preparing search index...

    Type Alias GetInstanceFactory<T>

    GetInstanceFactory: (element: string | Element) => T | null

    If you’d like to get a particular plugin instance, each plugin exposes a getInstance method. In order to retrieve it directly from an element, do this: bootstrap.Popover.getInstance(myPopoverEl)

    Type Parameters

    • T

    Type Declaration

      • (element: string | Element): T | null
      • Parameters

        • element: string | Element

        Returns T | null