PixiDom - v1.0.0
    Preparing search index...

    Function lineBounds

    • The [start, end] source indices spanning the visual line that contains index — start is the line's first character, end is the caret position at the end of its visible text (before any newline). Useful for Home/End caret movement.

      Parameters

      Returns { end: number; start: number }