scrollMargin property

Object get scrollMargin

Gets or sets a scrollable area in document coordinates that surrounds the document bounds, allowing the user to scroll into empty space.

The margin is only effective in each direction when the document bounds plus margin is greater than the viewport bounds.

The default value is a margin of 0, all around the edge of the document.

Implementation

_i2.Object get scrollMargin => _i4.getProperty(
      this,
      'scrollMargin',
    );
set scrollMargin (Object value)

Implementation

set scrollMargin(_i2.Object value) {
  _i4.setProperty(
    this,
    'scrollMargin',
    value,
  );
}