setSize method

void setSize(
  1. num? width,
  2. num? height
)

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]);