Adds a line widget, an element shown below a line, spanning the whole of the editor's width, and moving the lines below it downwards. line should be either an integer or a line handle, and node should be a DOM node, which will be displayed below the given line. options, when given, s
(line: any, node: HTMLElement, options?: {
/** Whether the widget should cover the gutter. */
coverGutter?: boolean;
/** Whether the widget should stay fixed in the face of horizontal scrolling. */
noHScroll?: boolean;
/** Causes the widget to be placed above instead of below the text of the line. */
above?: boolean;
/** When true, will cause the widget to be rendered even if the line it is associated with is hidden. */
showIfHidden?: boolean;
})
| 199 | options, when given, should be an object that configures the behavior of the widget. |
| 200 | Note that the widget node will become a descendant of nodes with CodeMirror-specific CSS classes, and those classes might in some cases affect it. */ |
| 201 | addLineWidget(line: any, node: HTMLElement, options?: { |
| 202 | /** Whether the widget should cover the gutter. */ |
| 203 | coverGutter?: boolean; |
| 204 | /** Whether the widget should stay fixed in the face of horizontal scrolling. */ |
no outgoing calls
no test coverage detected