Trilium Frontend API
    Preparing search index...

    Class BidiSpan

    Represents a contiguous range of text that has a single direction (as in left-to-right or right-to-left).

    Index

    Constructors

    Properties

    Accessors

    Constructors

    Properties

    from: number

    The start of the span (relative to the start of the line).

    level: number

    The "bidi level" of the span (in this context, 0 means left-to-right, 1 means right-to-left, 2 means left-to-right number inside right-to-left text).

    to: number

    The end of the span.

    Accessors

    • get dir(): Direction

      The direction of this span.

      Returns Direction