Trilium Frontend API
    Preparing search index...

    Interface BatchType

    A set of flags that specify the type of the batch. Batch type can alter how some of the features work when encountering a given Batch instance (for example, when a feature listens to applied operations).

    interface BatchType {
        isLocal?: boolean;
        isTyping?: boolean;
        isUndo?: boolean;
        isUndoable?: boolean;
    }

    Implemented by

    Index

    Properties

    isLocal?: boolean

    Whether a batch includes operations created locally (true) or operations created on other, remote editors (false).

    true
    
    isTyping?: boolean

    Whether a batch includes operations connected with a typing action.

    false
    
    isUndo?: boolean

    Whether a batch was created by the undo feature and undoes other operations.

    false
    
    isUndoable?: boolean

    Whether a batch can be undone through undo feature.

    true