[PR #813] [MERGED] WebContents: add executeJavaScript and dom-ready event #1305

Open
opened 2026-01-29 16:59:30 +00:00 by claunia · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ElectronNET/Electron.NET/pull/813
Author: @softworkz
Created: 9/24/2023
Status: Merged
Merged: 2/15/2024
Merged by: @FlorianRappl

Base: mainHead: submit_execjs_domready


📝 Commits (2)

  • a15db71 Add dom-ready event for WebContents
  • 73a3e33 Add executeJavaScript method to WebContents

📊 Changes

3 files changed (+90 additions, -0 deletions)

View changed files

📝 src/ElectronNET.API/WebContents.cs (+60 -0)
📝 src/ElectronNET.Host/api/webContents.js (+16 -0)
📝 src/ElectronNET.Host/api/webContents.ts (+14 -0)

📄 Description

I just needed these for porting an existing Electron app to Electron.NET.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/ElectronNET/Electron.NET/pull/813 **Author:** [@softworkz](https://github.com/softworkz) **Created:** 9/24/2023 **Status:** ✅ Merged **Merged:** 2/15/2024 **Merged by:** [@FlorianRappl](https://github.com/FlorianRappl) **Base:** `main` ← **Head:** `submit_execjs_domready` --- ### 📝 Commits (2) - [`a15db71`](https://github.com/ElectronNET/Electron.NET/commit/a15db713ad092ea5627985caadfec3b63305c7de) Add dom-ready event for WebContents - [`73a3e33`](https://github.com/ElectronNET/Electron.NET/commit/73a3e331dc670c20ba24bac3010d798e96bee234) Add executeJavaScript method to WebContents ### 📊 Changes **3 files changed** (+90 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `src/ElectronNET.API/WebContents.cs` (+60 -0) 📝 `src/ElectronNET.Host/api/webContents.js` (+16 -0) 📝 `src/ElectronNET.Host/api/webContents.ts` (+14 -0) </details> ### 📄 Description I just needed these for porting an existing Electron app to Electron.NET. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
claunia added the pull-request label 2026-01-29 16:59:30 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/Electron.NET#1305