-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Dynamically loading panes #28
Comments
@josephguillaume can you give the index.html link or content? |
Here's an example: I have other examples that have hard-coded paths/vocabs and would need work before being able to shared. I've been using an older mashlib on my own pod. As it turns out, the latest behaviour on solidcommunity.net is a bit different. Here's an entry point into solidos to be able to see the behaviour
|
Just noticed SolidOS/solid-panes#103 Allow panes to be added dynamically |
Responding to the README:
I thought I'd describe what I currently do and what I'm still missing.
A pane needs to be defined and registered using JS, so I have a index.html file that provides a custom pane sitting in my pod. When I navigate to it within solidos, it gets rendered in an IFrame.
Within that file, I call
Or so that it becomes the default pane for that session:
register
always adds panes in order of decreasing preference, so a user-defined pane will never be defaultDespite the limitations above I find it very useful to be able to change a custom pane on the fly rather than having to recompile and without adding it to the mashlib bundle.
The text was updated successfully, but these errors were encountered: