behavior property

ScrollBehavior? get behavior

Implementation

_i3.ScrollBehavior? get behavior => switch (_i4.getProperty(
      this,
      'behavior',
    )) {
      _i2.String name => _i3.ScrollBehaviorOptions.values.byName(name),
      _ => null
    };
set behavior (ScrollBehavior? value)

Implementation

set behavior(_i3.ScrollBehavior? value) {
  _i4.setProperty(
    this,
    'behavior',
    value?.name ?? _i6.undefined ?? _i6.undefined,
  );
}