mode property

EnumValue get mode

Gets or sets the directions and frequency in which the binding may be evaluated. The default value is Binding.OneWay. Binding.TwoWay is the other choice.

Use OneWay bindings to initialize GraphObject properties based on model data, or to modify GraphObject properties when the model data changes with a call to Model#setDataProperty. Use TwoWay bindings to keep model data in sync with changes to GraphObject properties. For efficiency, avoid TwoWay bindings on GraphObject properties that do not change value in your app.

You should not have a TwoWay binding on a node data object's key property.

Implementation

_i3.EnumValue get mode => _i4.getProperty(
      this,
      'mode',
    );
set mode (EnumValue value)

Implementation

set mode(_i3.EnumValue value) {
  _i4.setProperty(
    this,
    'mode',
    value,
  );
}