Skip to content

Commit

Permalink
web: Added more intricate URL (address ruffle-rs#18982)
Browse files Browse the repository at this point in the history
  • Loading branch information
William-McGonagle committed Dec 17, 2024
1 parent c1a4df4 commit aaa1826
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion web/packages/core/src/public/config/load-options.ts
Original file line number Diff line number Diff line change
Expand Up @@ -587,10 +587,14 @@ export interface BaseLoadOptions {

/**
* The handling mode of links opening a new website.
*
* Set as a function, `(url:string) => OpenURLMode` or `(url:string) => string`,
* to get more direct control over what URLs are opened or redirected to. A common
* use-case is redirect windows.
*
* @default OpenURLMode.Allow
*/
openUrlMode?: OpenURLMode;
openUrlMode?: OpenURLMode | ((string) => OpenURLMode) | ((string) => string);

/**
* Which flash networking APIs may be accessed.
Expand Down

0 comments on commit aaa1826

Please sign in to comment.