playsInline method

Video playsInline(
  1. bool boolean
)

A attribute indicating that the video is to be played "inline", that is within the element's playback area. Read more...

Implementation

Video playsInline(bool boolean) {
  if (boolean && node.attrs != null) {
    VirtualAttr attr = VirtualAttr('playsinline', '');
    node.attrs!.add(attr);
  }
  return this;
}