scrollsPageOnFocus property

bool get scrollsPageOnFocus

Gets or sets whether the page may be scrolled when the diagram receives focus. This happens in some browsers when the top-left corner of the diagram's HTMLDivElement is scrolled out of view, the diagram does not have focus, and the user clicks in the diagram.

The default value is false.

Implementation

_i2.bool get scrollsPageOnFocus => _i4.getProperty(
      this,
      'scrollsPageOnFocus',
    );
set scrollsPageOnFocus (bool value)

Implementation

set scrollsPageOnFocus(_i2.bool value) {
  _i4.setProperty(
    this,
    'scrollsPageOnFocus',
    value,
  );
}