This repository was archived by the owner on Jun 22, 2025. It is now read-only.
Update docs to show exposing js function with custom name (#64)#272
Closed
alexwohlbruck wants to merge 1 commit intopython-eel:masterfrom
alexwohlbruck:docs-expose
Closed
Update docs to show exposing js function with custom name (#64)#272alexwohlbruck wants to merge 1 commit intopython-eel:masterfrom alexwohlbruck:docs-expose
alexwohlbruck wants to merge 1 commit intopython-eel:masterfrom
alexwohlbruck:docs-expose
Conversation
Collaborator
|
Good idea. It might be nice to explicitly call out the reason you've noted - that this is necessary in some cases, e.g. when you're going to have minimised javascript. Would you mind making that update? |
Contributor
Author
|
The code I wrote in the example actually already works, I just wanted to point it out in the docs since I was running into this trouble and I can see it being a common problem. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adding documentation that shows how to specify a custom name for exposed JS functions.
This is useful for apps that are minified when built and the function names are changed.