Stream operator [](String type)

Source

Stream operator [](String type) {
  if (webkitEvents.keys.contains(type.toLowerCase())) {
    if (Device.isWebKit) {
      return new _ElementEventStreamImpl(
          _ptr, webkitEvents[type.toLowerCase()], false);
    }
  }
  return new _ElementEventStreamImpl(_ptr, type, false);
}