/
usr
/
share
/
nodejs
/
@types
/
codemirror
/
addon
/
scroll
/
/usr/share/nodejs/@types/codemirror/addon/scroll
mkdir
upload
Name
Size
Mode
Actions
annotatescrollbar.d.ts
687
0644
edit
dl
rm
scrollpastend.d.ts
315
0644
edit
dl
rm
simplescrollbars.d.ts
171
0644
edit
dl
rm
Edit:
/usr/share/nodejs/@types/codemirror/addon/scroll/annotatescrollbar.d.ts
(687B)
import * as CodeMirror from '../..'; import './searchcursor'; export interface Annotation { clear(): void; /** * Updates the ranges to be highlighted. The array must be sorted. */ update(annotations: Array<{ from: CodeMirror.Position, to: CodeMirror.Position }>): void; } export interface AnnotateScrollbarOptions { className: string; scrollButtonHeight?: number | undefined; listenForChanges?: boolean | undefined; } declare module '../../' { interface Editor { annotateScrollbar(options: string | AnnotateScrollbarOptions): Annotation; } interface EditorConfiguration { scrollButtonHeight?: number | undefined; } }
Save
cmd:
run