Skip to main content

chooser_decision

Function chooser_decision 

Source
fn chooser_decision(
    state: &AppState,
    agent: &str,
    target: &str,
    banner_at: &str,
    ask: &str,
    title: &str,
    origin: &str,
) -> &'static str
Expand description

A page’s own file chooser: kept for the agent when its grant has the uploads power, else cancelled by the host, and the agent is told what to do instead. Answers the host’s decision.