height method

Object height(
  1. int pixels, {
  2. bool? removeIf,
})

The height of the displayed resource, in CSS pixels. Read more...

Implementation

Object height(int pixels, {bool? removeIf}) {
  if (removeIf != true && node.attrs != null) {
    VirtualAttr attr = VirtualAttr('height', pixels.toString());
    node.attrs!.add(attr);
  }
  return this;
}