Skip to content

How to use the script interface #576

Closed Answered by mikke89
JailbreakPapa asked this question in Q&A
Discussion options

You must be logged in to vote

Hey, I'm copying this from the chat, in case others come by here:

Generally, you'll have to create new bindings. That is mostly a matter of replicating the methods of the various classes in the library (like Element), however you do that for your language. Then you need to hook into the ElementDocument::LoadInlineScript and LoadExternalScript, to actually load the scripts. And you probably also want to hook into some of our plugin functionality. The Lua plugin should show some of these things, but let me know if anything is unclear.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@JailbreakPapa
Comment options

Answer selected by JailbreakPapa
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants