readOnly property

bool get readOnly

Implementation

bool get readOnly => hasAttribute('readonly');
set readOnly (bool value)

Implementation

set readOnly(bool value) {
  if (value) {
    internalSetAttribute('readonly', '');
  } else {
    removeAttribute('readonly');
  }
}