File tree Expand file tree Collapse file tree 1 file changed +5
-0
lines changed
Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -634,6 +634,11 @@ <h2>Events</h2>
634634 < dt id ="event_scroll "> < code > < strong > "scroll"</ strong > (instance: CodeMirror)</ code > </ dt >
635635 < dd > Fires when the editor is scrolled.</ dd >
636636
637+ < dt id ="event_resize "> < code > < strong > "resize"</ strong > (instance: CodeMirror)</ code > </ dt >
638+ < dd > Fires when the editor is < a href ="#refresh "> refreshed</ a >
639+ or < a href ="#setSize "> resized</ a > . Mostly useful to invalidate
640+ cached values that depend on the editor or character size.</ dd >
641+
637642 < dt id ="event_scrollCursorIntoView "> < code > < strong > "scrollCursorIntoView"</ strong > (instance: CodeMirror, event: Event)</ code > </ dt >
638643 < dd > Fires when the editor tries to scroll its cursor into view.
639644 Can be hooked into to take care of additional scrollable
You can’t perform that action at this time.
0 commit comments