resize(size)

Name Type Description
size Object with height and width Object with height and width in pixels. For example:
{
    height:'20px',
    width:'60px'
}
If no size is given then the size of the editor will be used.

Usage:

 sdk.resize({width: ‘100px’, height: ‘20px’});