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

Using bodylight.js without composer #1

Open
Elfangor93 opened this issue Sep 26, 2019 · 1 comment
Open

Using bodylight.js without composer #1

Elfangor93 opened this issue Sep 26, 2019 · 1 comment

Comments

@Elfangor93
Copy link

I am wondering, if there is a way of using bodylight.js without the composer?

What I have in mind is to create a HTML5 document inside a text editor. There I would like to insert the compiled model from FMU-compiler and the bodylight.js as minified js-librarys in script tags.
Then I would like to use the bodylight.js API to communicate with the compiled model. So that I can pass the values from form input-fields to the model and pass the outputs of the model to wathever element in my HTML5 document.

Exactly what the composer is doing for me but without the GUI which restricts me to the functionality the GUI supports.

Would it be possible to provide bodylight.js without composer as js-library?

@filip-jezek
Copy link
Member

Currently, we don't have such plan, as I consider the composer to be superior to that. Whats more, I think you can do what you want with that as well:

  1. prepare the BASIC GUI - model, inputs, labels, outputs.
  2. generate HTML
  3. do what you want here - the functionality is preserved

Will that solve your issue?

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