lib/events/WebView.ps1

#######################################################################################################################################################
# WARNING: DO NOT EDIT THIS FILE AS IT IS GENERATED AND WILL BE OVERWRITTEN ON THE NEXT UPDATE! #
# #
# Generated via psake on: 2026-03-03T08:49:18.840Z #
# Version: 2026.3.3.1 #
# Copyright Fortigi (C) 2024-2026 #
#######################################################################################################################################################
#requires -Version 7.0

$Script:Webview.Object.add_NavigationCompleted({
        try {
            $_ | Show-EventInfo
            "Set-EditorValue after loading html" | Write-LogOutput -LogType DEBUG
            Set-EditorValue

            $Script:RunTimeConfig.ReconnectStatus = 3
        }
        catch {
            $_.Exception.Message | Write-LogOutput -LogType ERROR -ErrorObject $_
        }
    })