setSize method
Programmatically set the size of the editor (overriding the applicable CSS
rules). width
and height
are numbers (interpreted as pixels).
You can pass null
for either of them
to indicate that that dimension should not be changed.
Implementation
void setSize(num? width, num? height) => callArgs('setSize', [width, height]);