MCPcopy Create free account
hub / github.com/witheve/Eve / setSize

Method setSize

typings/codemirror/codemirror.d.ts:216–216  ·  view source on GitHub ↗

Programatically set the size of the editor (overriding the applicable CSS rules). width and height height can be either numbers(interpreted as pixels) or CSS units ("100%", for example). You can pass null for either of them to indicate that that dimension should not be changed.

(width: any, height: any)

Source from the content-addressed store, hash-verified

214 width and height height can be either numbers(interpreted as pixels) or CSS units ("100%", for example).
215 You can pass null for either of them to indicate that that dimension should not be changed. */
216 setSize(width: any, height: any): void;
217
218 /** Scroll the editor to a given(pixel) position.Both arguments may be left as null or undefined to have no effect. */
219 scrollTo(x: number, y: number): void;

Callers 2

onResizeFunction · 0.80
updateBottomMarginFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected