OnCreatedNavigationTargetDetails constructor

OnCreatedNavigationTargetDetails({
  1. required int sourceTabId,
  2. required int sourceProcessId,
  3. required int sourceFrameId,
  4. required String url,
  5. required int tabId,
  6. required double timeStamp,
})

Implementation

OnCreatedNavigationTargetDetails({
  /// The ID of the tab in which the navigation is triggered.
  required int sourceTabId,

  /// The ID of the process that runs the renderer for the source frame.
  required int sourceProcessId,

  /// The ID of the frame with sourceTabId in which the navigation is
  /// triggered. 0 indicates the main frame.
  required int sourceFrameId,

  /// The URL to be opened in the new window.
  required String url,

  /// The ID of the tab in which the url is opened
  required int tabId,

  /// The time when the browser was about to create a new view, in
  /// milliseconds since the epoch.
  required double timeStamp,
}) : _wrapped = $js.OnCreatedNavigationTargetDetails(
        sourceTabId: sourceTabId,
        sourceProcessId: sourceProcessId,
        sourceFrameId: sourceFrameId,
        url: url,
        tabId: tabId,
        timeStamp: timeStamp,
      );