disabled method

Optgroup disabled([
  1. bool d = true
])

Implementation

Optgroup disabled([bool d = true]) {
  if (d) attr('disabled', BooleanAttribute(true));
  return this;
}