contentEditable method

WidgetElement contentEditable(
  1. bool boolean, {
  2. bool? removeIf,
})
inherited

The contenteditable global attribute indicating if the element should be editable by the user. Read more...

Implementation

WidgetElement contentEditable(bool boolean, {bool? removeIf}) {
  if (removeIf != true && node.attrs != null) {
    VirtualAttr attr = VirtualAttr('contenteditable', boolean.toString());
    node.attrs!.add(attr);
  }
  return this;
}