preload method

Audio preload(
  1. String value, {
  2. bool? removeIf,
})

This attribute is intended to provide a hint to the browser about what the author thinks will lead to the best user experience. Read more...

Implementation

Audio preload(String value, {bool? removeIf}) {
  if (removeIf != true && node.attrs != null) {
    VirtualAttr attr = VirtualAttr('preload', value);
    node.attrs!.add(attr);
  }
  return this;
}