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

el.expose() does not work with a dynamic js function name #753

Open
Yrij-Zhavoronkov opened this issue Dec 3, 2024 · 0 comments
Open

el.expose() does not work with a dynamic js function name #753

Yrij-Zhavoronkov opened this issue Dec 3, 2024 · 0 comments
Labels

Comments

@Yrij-Zhavoronkov
Copy link

Eel version
0.16.0

Describe the bug
el.expose does not work with a dynamic function name.
Example:

const public_function_name = `${module_name}{f_name}`;
eel.expose(some_function, public_function_name);

The function will be registered with the name 'public_function_name', but not with the contents of the variable.

System Information

  • OS: [Windows 10 x64]
  • Browser: [e.g. Chrome 131.0.6778.86 (Official Build)]
  • Python Distribution: [Python.org 3.10]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant