We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents f4dc069 + 8399c80 commit 845a333Copy full SHA for 845a333
src/index.tsx
@@ -80,7 +80,7 @@ export interface ICodeMirror {
80
onPaste?: DomEvent;
81
onScroll?: (editor: IInstance, data: codemirror.ScrollInfo) => void;
82
onSelection?: (editor: IInstance, data: IGetSelectionOptions) => void;
83
- onTouchStart: DomEvent;
+ onTouchStart?: DomEvent;
84
onUpdate?: (editor: IInstance) => void;
85
onViewportChange?: (editor: IInstance, start: number, end: number) => void;
86
options?: codemirror.EditorConfiguration
0 commit comments