Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No Iframe Support #250

Closed
LiveUser opened this issue Mar 16, 2020 · 1 comment
Closed

No Iframe Support #250

LiveUser opened this issue Mar 16, 2020 · 1 comment

Comments

@LiveUser
Copy link

Problem

App fails to load when I add an Iframe to the html.

Feature Request

Also it would be nice to have access to neutralino functions from the iframe

@shalithasuranga shalithasuranga transferred this issue from neutralinojs/evaluation Mar 17, 2020
@shalithasuranga
Copy link
Member

shalithasuranga commented May 16, 2021

Hey.. Please try the latest version. it works.

I did a small experiment, as shown below.

app.html

<button onclick="(async () => {console.log((await window.parent.Neutralino.app.getConfig()).config);})()">test</button>

index.html

<iframe src="app.html"></iframe>

Make sure to call Neutralino as window.parent.Neutralino from iframe's html.

Sadaf-A pushed a commit to Sadaf-A/neutralinojs that referenced this issue Mar 28, 2024
Bumps [loader-utils](https://github.com/webpack/loader-utils) from 1.4.0 to 1.4.2.
- [Release notes](https://github.com/webpack/loader-utils/releases)
- [Changelog](https://github.com/webpack/loader-utils/blob/v1.4.2/CHANGELOG.md)
- [Commits](webpack/loader-utils@v1.4.0...v1.4.2)

---
updated-dependencies:
- dependency-name: loader-utils
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants