Molybden API
Loading...
Searching...
No Matches
molybden::BeforeUnloadArgs Struct Reference

The BrowserDelegates::onBeforeUnload action arguments. More...

#include <browser_delegates.hpp>

Public Attributes

std::shared_ptr< Browserbrowser
 The browser instance initiated this action.
 
std::string title
 The localized dialog title.
 
std::string message
 The text passed to the window.onbeforeunload() JavaScript function.
 
std::string stay_action_text
 The localized text of the "Stay" action.
 
std::string leave_action_text
 The localized text of the "Leave" action.
 
bool is_reload
 Determines whether this callback is invoked as a result of reloading the current web page.
 

Detailed Description

The BrowserDelegates::onBeforeUnload action arguments.


The documentation for this struct was generated from the following file: