Trilium Frontend API
    Preparing search index...

    Type Alias ViewElementDefinition

    ViewElementDefinition: string | ViewElementObjectDefinition

    A plain object that describes a view element or element name.

    Elements without attributes can be given simply as a string:

    const viewDefinition = 'p';
    

    Which will be treated as:

    const viewDefinition = {
    name: 'p'
    };