You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
My idea of such integration would be to provide a page to be embedded via an <iframe>. A piece of JavaScript can be used to set the initial code from the embedding page (probably with postMessage) as the URI might not have enough space to include the full script.
Sometimes the embedding page might want to provide custom modules as Rhai script, or perhaps they have a customized playground build that provides some custom functions in Rust and would like to switch them on or off (e.g. some sections in the Rhai book showcases some engine customizations). The embeddable playground should also provide an option for this.
The text was updated successfully, but these errors were encountered:
My idea of such integration would be to provide a page to be embedded via an
<iframe>
. A piece of JavaScript can be used to set the initial code from the embedding page (probably withpostMessage
) as the URI might not have enough space to include the full script.Sometimes the embedding page might want to provide custom modules as Rhai script, or perhaps they have a customized playground build that provides some custom functions in Rust and would like to switch them on or off (e.g. some sections in the Rhai book showcases some engine customizations). The embeddable playground should also provide an option for this.
The text was updated successfully, but these errors were encountered: