Trilium Frontend API
    Preparing search index...

    Class Dropdown

    Base Component

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    DATA_KEY: string
    Default: Options

    Default settings of this plugin

    DefaultType: Record<keyof Options, string>
    EVENT_KEY: string

    Static method which allows you to get the dropdown instance associated with a DOM element.

    Static method which returns a dropdown instance associated to a DOM element or create a new one in case it wasn't initialised. You can use it like this: bootstrap.Dropdown.getOrCreateInstance(element)

    VERSION: string

    Version of this plugin

    Methods

    • Destroys an element's.

      Returns void

    • Hides the dropdown menu of a given navbar or tabbed navigation.

      Returns void

    • Shows the dropdown menu of a given navbar or tabbed navigation.

      Returns void

    • Toggles the dropdown menu of a given navbar or tabbed navigation.

      Returns void

    • Updates the position of an element's dropdown.

      Returns void