isEnabled property

bool get isEnabled

Gets or sets whether this Panel or any GraphObject inside the panel actually responds to user click events. It may be used as a Binding target. See how this property is used in Buttons.js.

This property does not have any effect on picking ("hit-testing") -- that behavior is implemented by the GraphObject#pickable property. When this property is false, non-click events may still occur on this panel or on objects within this panel. This property is normally only used for Panels that are GraphObject#isActionable.

Call GraphObject#isEnabledObject to decide whether a particular object can be clicked.

Implementation

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

Implementation

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