-
-
Notifications
You must be signed in to change notification settings - Fork 103
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
Dynamically generated templates/views/components #98
Comments
Hi @michaljerabek, Can you clarify a little more why you can't achieve your scenario using a static template? Can you provide two examples of two dynamic templates you want to generate? |
Ok, I figured it out. I did not realize that I have to use The app is still only in my head, and to be honest, I don't know how exactly I want to do this. But I just need to be able to insert a new HTML and assign to it a new object with settings (that user can change). (And the new HTML [in admin section of the app] will contain some controls for setting preferences that will be using jsblocks' observables a queries.) Thanks for your time. |
Hi,
I would like to make an app, that will contain a page builder (HTML builder). The user selects some module (products, gallery, slider, ...) and inserts it into the page and somehow modifies it. The problem is, that I haven't found any way to create a working template or a View at runtime. (And I don't know what modules the user will be using, so I can not predefine them.) The next thing is, that these modules should be sortable, so I will need to be able to remove a module from the page and insert it somewhere else (and obsarvables must still work). (I have not tried this yet.) Is there any way to do this with jsblocks, or could be in the near future?
Thanks.
The text was updated successfully, but these errors were encountered: