The named parameters
Optionalbcc?: string[]The people you don't want others to know about on the email.
Optionalbody?: stringThe actual email message.
Optionalcc?: string[]The carbon copy email addresses to send the email.
Optionalheight?: numberThe height of a popup window. Defaulted to 600.0 when not set.
Optionalmailto?: string[]The primary addresses to send the email.
Optionalpopup_window?: booleanWhether to open the protocol in a separate browser window.
The schema to open.
Optionalsubject?: stringThe subject of the email.
Optionaltarget?: stringThe type of a tab behavior.
Optionalurl?: stringThe url of the protocol unless utilizing "mailto:" schema with [params.mailtoParams] which will already be formatted.
Optionalwidth?: numberThe width of a popup window. Defaulted to 900.0 when not set.
Reference to the newly opened browser window.
// Determine if open is available. It is only available within Browser's
// and may not be available in WebViews if your page is embedded.
if (runtime_available({request: AVAILABILITY_REQUEST.Open})) {
// Open a website as a pop-up window. treating your site as a multi-window
// type of application.
const win = ui_open({
schema: SCHEMA_TYPE.Https,
url: "https://google.com",
popup_window: true
});
}
Opens the specified protocol to a browser window or native app configured to handle the given specified schema.