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: 2025-12-04T03:09:22.387Z #
# Version: 2025.12.4.2 #
# Copyright Fortigi (C) 2024-2025 #
#######################################################################################################################################################
#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 $_
        }
    })