SendMessageOptions constructor

SendMessageOptions({
  1. int? frameId,
  2. String? documentId,
})

Implementation

SendMessageOptions({
  /// Send a message to a specific [frame](webNavigation#frame_ids) identified
  /// by `frameId` instead of all frames in the tab.
  int? frameId,

  /// Send a message to a specific [document](webNavigation#document_ids)
  /// identified by `documentId` instead of all frames in the tab.
  String? documentId,
}) : _wrapped = $js.SendMessageOptions(
        frameId: frameId,
        documentId: documentId,
      );